|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.terrier.applications.HadoopIndexing
public class HadoopIndexing
Main run class for the MapReduce indexing system. Provides facilities to preform indexing over multiple machines in a MapReduce cluster.
Term-partitioning is the default scenario. In this scenario, the maximum reducers allowed is 32. To select document-partitioning, specify the -p flag to main();
Properties:
Field Summary | |
---|---|
protected static org.apache.log4j.Logger |
logger
logger for this class |
Constructor Summary | |
---|---|
HadoopIndexing()
|
Method Summary | |
---|---|
static void |
deleteTaskFiles(java.lang.String path,
org.apache.hadoop.mapred.JobID job)
Performs cleanup of an index path removing temporary files |
static void |
main(java.lang.String[] args)
Starts the MapReduce indexing. |
protected static void |
mergeLexiconInvertedFiles(java.lang.String index_path,
int numberOfReducers)
for term partitioned indexing, this method merges the lexicons from each reducer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.apache.log4j.Logger logger
Constructor Detail |
---|
public HadoopIndexing()
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.lang.Exception
args
-
java.lang.Exception
protected static void mergeLexiconInvertedFiles(java.lang.String index_path, int numberOfReducers) throws java.io.IOException
index_path
- path of indexnumberOfReducers
- number of inverted files expected
java.io.IOException
public static void deleteTaskFiles(java.lang.String path, org.apache.hadoop.mapred.JobID job)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |