edu.umd.cloud9.collection.wikipedia
Class LookupWikipediaArticle
java.lang.Object
org.apache.hadoop.conf.Configured
edu.umd.cloud9.collection.wikipedia.LookupWikipediaArticle
- All Implemented Interfaces:
- Configurable, Tool
public class LookupWikipediaArticle
- extends Configured
- implements Tool
Tool for providing command-line access to page titles given either a docno or a docid. This does
not run as a MapReduce job.
Here's a sample invocation:
etc/hadoop-cluster.sh edu.umd.cloud9.collection.wikipedia.LookupWikipediaArticle \
enwiki-20130503.findex.dat enwiki-20130503-docno.dat
- Author:
- Jimmy Lin
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
- Throws:
Exception