getCounters() Deprecated.The Counter class changed incompatibly between Hadoop 1 and 2
(from a class to an interface) so user programs should avoid this method and use
getCounterNames().
@Deprecated
public org.apache.hadoop.mapreduce.Counters getCounters()
Deprecated.The Counter class changed incompatibly between Hadoop 1 and 2
(from a class to an interface) so user programs should avoid this method and use
getCounterNames().
@Deprecated
public org.apache.hadoop.mapreduce.Counter findCounter(Enum<?> key)
Deprecated.The Counter class changed incompatibly between Hadoop 1 and 2
(from a class to an interface) so user programs should avoid this method and use
getCounterValue(Enum) and/or getCounterDisplayName(Enum).
getCounterValue
public long getCounterValue(String groupName,
String counterName)
getCounterDisplayName
public StringgetCounterDisplayName(String groupName,
String counterName)