com.intel.hadoop.graphbuilder.idnormalize.mapreduce
Class TransEdgeMR
java.lang.Object
com.intel.hadoop.graphbuilder.idnormalize.mapreduce.TransEdgeMR
public class TransEdgeMR
- extends java.lang.Object
This MapReduce class translate the rawIds in the edge list into normalized
newIds using the partitioned edgelist output from SortEdgeMR and partitioned
dictionary output from SortDictMR.
Input directory: list of edges. Output directory: $outputdir/
Method Summary |
void |
run(java.lang.String inputpath,
java.lang.String outputpath)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransEdgeMR
public TransEdgeMR(int numChunks,
java.lang.String dictionaryPath,
GraphParser graphparser,
FieldParser vidparser,
FieldParser edataparser)
- Parameters:
numChunks
- number of partitions in the dictionary.dictionaryPath
- path of the partitioned dictionary.graphparser
- vidparser
- edataparser
-
run
public void run(java.lang.String inputpath,
java.lang.String outputpath)
throws java.io.IOException
- Parameters:
inputpath
- path of the partitioned edge listoutputpath
- path of the output directory
- Throws:
java.io.IOException