edu.umd.cloud9.collection.trecweb
Class NumberTrecWebDocuments
java.lang.Object
org.apache.hadoop.conf.Configured
edu.umd.cloud9.collection.trecweb.NumberTrecWebDocuments
- All Implemented Interfaces:
- Configurable, Tool
public class NumberTrecWebDocuments
- extends Configured
- implements Tool
Numbers documents in TREC web collections that have been repacked into SequenceFiles.
Sample invocations:
setenv HADOOP_CLASSPATH "/foo/cloud9-x.y.z.jar:/foo/guava-r09.jar"
hadoop jar cloud9-x.y.z.jar edu.umd.cloud9.collection.trecweb.NumberTrecWebDocuments \
-libjars=guava-r09.jar \
/shared/collections/wt10g/collection.compressed.block \
/user/jimmylin/tmp \
/user/jimmylin/docno-mapping.dat 100
hadoop jar cloud9-x.y.z.jar edu.umd.cloud9.collection.trecweb.NumberTrecWebDocuments \
-libjars=guava-r09.jar \
/shared/collections/gov2/collection.compressed.block \
/user/jimmylin/tmp \
/user/jimmylin/docno-mapping.dat 100
- Author:
- Jimmy Lin
|
Method Summary |
static void |
main(String[] args)
Dispatches command-line arguments to the tool via the ToolRunner. |
int |
run(String[] args)
|
NumberTrecWebDocuments
public NumberTrecWebDocuments()
run
public int run(String[] args)
throws Exception
- Specified by:
run in interface Tool
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Dispatches command-line arguments to the tool via the
ToolRunner.
- Throws:
Exception