diff options
author | Bryan Newbold <bnewbold@archive.org> | 2018-04-04 11:55:22 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2018-04-04 11:55:22 -0700 |
commit | 427dd875958c8a6d2d791d55f9dda300ebdc853b (patch) | |
tree | dacb8febb89ed0694d41db03d86c38e3374aa844 /backfill/README.md | |
parent | 78caa0d7772375903194e79df16d70d831ebd432 (diff) | |
download | sandcrawler-427dd875958c8a6d2d791d55f9dda300ebdc853b.tar.gz sandcrawler-427dd875958c8a6d2d791d55f9dda300ebdc853b.zip |
merge backfill into extraction directory
Diffstat (limited to 'backfill/README.md')
-rw-r--r-- | backfill/README.md | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/backfill/README.md b/backfill/README.md deleted file mode 100644 index 2e3dc7a..0000000 --- a/backfill/README.md +++ /dev/null @@ -1,26 +0,0 @@ - -Run tests: - - pipenv run python -m pytest - -An example actually connecting to HBase from a local machine, with thrift -running on a devbox: - - ./backfill_hbase_from_cdx.py tests/files/example.cdx \ - --hbase-table wbgrp-journal-extract-0-qa \ - --hbase-host bnewbold-dev.us.archive.org - -Actual invocation to run on Hadoop cluster (running on an IA devbox, where -hadoop environment is configured): - - # Create tarball of virtualenv - pipenv shell - tar -czf backfill-4OmRI0zZ.tar.gz -C /home/bnewbold/.local/share/virtualenvs/backfill-4OmRI0zZ . - - ./backfill_hbase_from_cdx.py \ - -r hadoop \ - --hbase-host bnewbold-dev.us.archive.org \ - --hbase-table wbgrp-journal-extract-0-qa \ - -c mrjob.conf \ - --archive backfill-4OmRI0zZ.tar.gz#venv \ - hdfs:///user/bnewbold/journal_crawl_cdx/citeseerx_crawl_2017.cdx |