[ 
https://issues.apache.org/jira/browse/MAPREDUCE-5856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13979031#comment-13979031
 ] 

Robert Kanter commented on MAPREDUCE-5856:
------------------------------------------

This won't remove the limit checking; it's still enforced.  The patch just 
makes it so that someone using a mapred-site.xml not on the classpath is still 
able to change the counter limit.  Without this, clients such as Oozie have no 
way of using a different limit.  

I imagine that the history server loads it's mapred-site.xml from the classpath 
anyway, so this patch won't affect it at all.  Even without the patch, if the 
counter limit is set too high, then it could get an OOM.  But that's the user's 
fault.

> Counter limits always use defaults even if JobClient is given a different 
> Configuration
> ---------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5856
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5856
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 2.3.0, 2.4.0
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>         Attachments: MAPREDUCE-5856.patch
>
>
> If you have a job with more than the default number of counters (i.e. > 120), 
> and you create a JobClient with a Configuration where the default is 
> increased (e.g. 500), then JobClient will throw this Exception:
> {noformat}
> org.apache.hadoop.mapreduce.counters.LimitExceededException: Too many 
> counters: 121 max=120
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to