In Hadoop 2, this configuration parameter is called
mapreduce.job.counters.max
Installing it on the command line or in your Configuration object is not enough. You need to call a static method
org.apache.hadoop.mapreduce.counters.Limits.init()
in the setup () method of your cartographer or reducer to force the parameter to take effect.
Tested with 2.6.0 and 2.7.1.
source share