Implementation of EPiC's approach with a slight difference. More...
Classes | |
class | CountMapper |
class | CountReducer |
Static Public Member Functions | |
static void | setup (JobConf conf) |
Initializes the class based on provided configuration parameters. |
Implementation of EPiC's approach with a slight difference.
The difference from MapRedEpic is that the evaluation of the indicator polynomial is switched from the Mappers to the Reducer. Therefore, instead of sending only the final results corresponding to the subsets, all monomials are sent from Mappers to Reducer, which increases the communication among nodes. This is a "naive" implementation of EPiC.
This implementation supports all kinds of counting (conjunctive, disjunctive, range, GF(2) arithmetized).
static void mapred.MapRedEpicReducerEvaluate.setup | ( | JobConf | conf | ) | [inline, static] |
Initializes the class based on provided configuration parameters.
The initialization comprises setting job's name, assigning Mapper and Reducer class as well as their input and output key-value classes.
conf | configuration parameters. |