The Mapper class parse each input value, provided by the {@code InputFormat}, and output a list of {@code Vertex} and a list of {@code Edge} using a{@code GraphTokenizer}.
The Reducer class applies user defined {@code Functional}s to reduce duplicate edges and vertices. If no such {@code Functional} is provide, itoutputs the first instance and discards the rest with the same identifier. It also discards self edges: v - > v. An option for discard bidirectional edge is provided by {@code cleanBidirectionalEdge(boolean)}.
Input directory: Can take multiple input directories. Output directory structure:
|
|