Vladimir Tarasov created MAPREDUCE-6832: -------------------------------------------
Summary: Counter name is truncated regardless the configuration Key: MAPREDUCE-6832 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6832 Project: Hadoop Map/Reduce Issue Type: Bug Environment: hadoop version Hadoop 2.6.0-cdh5.8.0 Subversion http://github.com/cloudera/hadoop -r 042da8b868a212c843bcbf3594519dd26e816e79 Compiled by jenkins on 2016-07-12T22:55Z Compiled with protoc 2.5.0 >From source with checksum 2b6c319ecc19f118d6e1c823175717b5 This command was run using /usr/lib/hadoop/hadoop-common-2.6.0-cdh5.8.0.jar Reporter: Vladimir Tarasov For now I have hadoop job which creates counters with pretty big name. For example, the following one: stats.counters.server-name.job.job-name.mapper.site.site-name.qualifier.qualifier-name.super-long-string-which-is-not-quantity-within-standard-limits. This counter is truncated on web interface and is returned truncated by getName() method. I've found out that hadoop have limitations on the counter max name and mapreduce.job.counters.counter.name.max is for configuring this limit. So I incremented this to 500 and web interface now shows full counter name. But getName() of the counter still returns truncated name. This seems like a bug as result of getName() call should be consistent. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: mapreduce-dev-h...@hadoop.apache.org