You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Vladimir Tarasov (JIRA)" <ji...@apache.org> on 2017/01/18 10:31:26 UTC

[jira] [Updated] (MAPREDUCE-6832) Counter name is truncated regardless the configuration

     [ https://issues.apache.org/jira/browse/MAPREDUCE-6832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Tarasov updated MAPREDUCE-6832:
----------------------------------------
    Priority: Critical  (was: Major)

> 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
>            Priority: Critical
>
> 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org