aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* move SQL schema to diesel migration patternBryan Newbold2020-01-025-70/+157
|
* hadoop job log rename and updateBryan Newbold2019-12-271-0/+25
|
* update job log with pig runsBryan Newbold2019-12-261-0/+10
|
* update TODOBryan Newbold2019-12-261-1/+7
|
* kafka topics: compress api-dataciteBryan Newbold2019-12-241-1/+1
|
* basic arabesque2ingestrequest scriptBryan Newbold2019-12-241-0/+69
|
* commit grobid_tool transform modeBryan Newbold2019-12-221-0/+27
| | | | Had some stale code on aitio with this change I forgot to commit. Oops!
* pig: first rev of join-cdx-sha1 scriptBryan Newbold2019-12-223-0/+91
|
* pig: move count_lines helper to pighelper.pyBryan Newbold2019-12-223-7/+6
|
* refactor: use print(..., file=sys.stderr)Bryan Newbold2019-12-185-32/+34
| | | | Should use logging soon, but this seems more idiomatic in the meanwhile.
* refactor: sort keys in JSON outputBryan Newbold2019-12-184-6/+7
| | | | This makes debugging by tailing Kafka topics a lot more readable
* refactor: improve argparse usageBryan Newbold2019-12-185-13/+27
| | | | | use ArgumentDefaultsHelpFormatter and add help messages to all sub-commands
* update ingest proposal source/link namingBryan Newbold2019-12-132-17/+27
|
* sql schema change proposalsBryan Newbold2019-12-111-0/+40
|
* pdftotext proposalBryan Newbold2019-12-111-0/+123
|
* add some GROBID metadata schema docs to SQL schemaBryan Newbold2019-12-111-0/+11
|
* update ingest proposalBryan Newbold2019-12-111-11/+145
|
* fixes for large GROBID result skipBryan Newbold2019-12-021-2/+2
|
* count empty blobs as 'failed' instead of crashingBryan Newbold2019-12-011-1/+2
| | | | Might be better to record an artificial kafka response instead?
* cleanup unused importBryan Newbold2019-12-011-1/+0
|
* filter out very large GROBID XML bodiesBryan Newbold2019-12-011-0/+6
| | | | | | | | | | This is to prevent Kafka MSG_SIZE_TOO_LARGE publish errors. We should probably bump this in the future. Open problems: hand-coding this size number isn't good, need to update in two places. Shouldn't filter out for non-Kafka sinks. Might still exist a corner-case where JSON encoded XML is larger than XML character string, due to encoding (eg, for unicode characters).
* updated re-GROBID job log entryBryan Newbold2019-11-151-0/+31
|
* CI: make some jobs manualBryan Newbold2019-11-152-6/+12
| | | | | Scalding test is broken :( But we aren't even using that code much these days.
* handle wayback fetch redirect loop in ingest codeBryan Newbold2019-11-141-2/+5
|
* bump kafka max poll interval for consumersBryan Newbold2019-11-141-2/+2
| | | | | The ingest worker keeps timing out at just over 5 minutes, so bump it just a bit.
* handle WaybackError during ingestBryan Newbold2019-11-141-0/+4
|
* handle SPNv1 redirect loopBryan Newbold2019-11-141-0/+2
|
* handle SPNv2 polling timeoutBryan Newbold2019-11-141-6/+10
|
* update ingest-file batch size to 1Bryan Newbold2019-11-142-4/+4
| | | | | | | | Was defaulting to 100, which I think was resulting in lots of consumer group timeouts, resulting in UNKNOWN_MEMBER_ID errors. Will probably switch back to batches of 10 or so, but multi-processing or some other concurrent dispatch/processing.
* start of hrmars.com ingest supportBryan Newbold2019-11-142-2/+7
|
* treat failure to get terminal capture as a SavePageNowErrorBryan Newbold2019-11-131-1/+1
|
* citation_pdf_url with host-relative URLsBryan Newbold2019-11-131-1/+3
|
* status_forcelist is on session, not requestBryan Newbold2019-11-131-2/+2
|
* handle SPNv1 remote server HTTP status codes betterBryan Newbold2019-11-131-8/+15
|
* grobid2json: make lang detection flexibleBryan Newbold2019-11-131-1/+2
|
* handle requests (http) redirect loop from waybackBryan Newbold2019-11-131-1/+4
|
* handle wayback client return status correctlyBryan Newbold2019-11-131-2/+2
|
* allow way more errors in SPN pathBryan Newbold2019-11-131-2/+11
|
* clean up redirect-following CDX API pathBryan Newbold2019-11-131-8/+15
|
* fix lint errorsBryan Newbold2019-11-132-6/+11
|
* improve ingest worker remote failure behaviorBryan Newbold2019-11-131-5/+12
|
* have SPN client differentiate between SPN and remote errorsBryan Newbold2019-11-132-3/+11
| | | | | | | | This is only a partial implementation. The requests client will still make way too many SPN requests trying to figure out if this is a real error or not (eg, if remote was a 502, we'll retry many times). We may just want to switch to SPNv2 for everything.
* correct ingest-file consumer groupBryan Newbold2019-11-131-1/+1
|
* new kafka topics for file ingestBryan Newbold2019-11-131-0/+15
| | | | Created these for 'qa' and 'prod'
* ingest/backfill notesBryan Newbold2019-11-133-0/+47
|
* notes about running 'regrobid' batches manually (not kafka)Bryan Newbold2019-11-131-0/+41
|
* commit old notes about munging GROBID outputBryan Newbold2019-11-131-0/+70
|
* add structure of ingest proposalBryan Newbold2019-11-131-0/+129
| | | | Still needs some details flushed out
* add basic sandcrawler worker (kafka)Bryan Newbold2019-11-131-0/+74
|
* note that kafka_grobid.py is deprecatedBryan Newbold2019-11-131-0/+3
|