What Is A Identitymapper And Identityreducer In Mapreduce ?
Answer»
org.apache.hadoop.mapred.lib.IdentityMapper Implements the IDENTITYFUNCTION, mapping inputs directly to outputs. If MapReduce programmer do 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 do not set the Reducer Class using JobConf.setReducerClass then IdentityReducer.class is used as a default value.