diff options
Diffstat (limited to 'backfill/README.md')
-rw-r--r-- | backfill/README.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/backfill/README.md b/backfill/README.md index 6af8f33..2e3dc7a 100644 --- a/backfill/README.md +++ b/backfill/README.md @@ -10,3 +10,17 @@ running on a devbox: --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 |