What Is A Identitymapper And Identityreducer In Mapreduce?
Answer»
org.apache.hadoop.mapred.lib.IdentityMapper: Implements the identity FUNCTION, mapping inputs directly to outputs. If MAPREDUCEPROGRAMMER does not set the Mapper Class using JobConf.setMapperClass then IdentityMapper.class is USED as a default value.
org.apache.hadoop.mapred.lib.IdentityReducer : Performs no reduction, writing all input values directly to the output. If MapReduce programmer does not set the Reducer Class using JobConf.setReducerClass then IdentityReducer.class is used as a default value.