edu.umd.cloud9.collection.trecweb
Class RepackTrecWebCollection

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by edu.umd.cloud9.collection.trecweb.RepackTrecWebCollection
All Implemented Interfaces:
Configurable, Tool

public class RepackTrecWebCollection
extends Configured
implements Tool

Tool to repack TREC web collections (wt10g, gov2) into SequenceFiles. Run without any arguments for help. The guava jar must be included using -libjar.

Author:
Jimmy Lin

Field Summary
static String COLLECTION_OPTION
           
static String COMPRESSION_OPTION
           
static String OUTPUT_OPTION
           
 
Method Summary
static void main(String[] args)
          Dispatches command-line arguments to the tool via the ToolRunner.
 int run(String[] args)
          Runs this tool.
 
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
 

Field Detail

COLLECTION_OPTION

public static final String COLLECTION_OPTION
See Also:
Constant Field Values

OUTPUT_OPTION

public static final String OUTPUT_OPTION
See Also:
Constant Field Values

COMPRESSION_OPTION

public static final String COMPRESSION_OPTION
See Also:
Constant Field Values
Method Detail

run

public int run(String[] args)
        throws Exception
Runs this tool.

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