[ https://issues.apache.org/jira/browse/HBASE-18679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16140880#comment-16140880 ]
Ted Yu commented on HBASE-18679: -------------------------------- >From my experience, if the counters is null, that usually means there were too >many errors. You can check for null Counters and provide better message for the failure of ITBLL. > YARN may null Counters object and cause an NPE in ITBLL > ------------------------------------------------------- > > Key: HBASE-18679 > URL: https://issues.apache.org/jira/browse/HBASE-18679 > Project: HBase > Issue Type: Bug > Components: integration tests > Reporter: Josh Elser > Assignee: Josh Elser > Priority: Trivial > Fix For: 2.0.0, 1.4.0, 1.3.2, 1.5.0, 1.2.7, 1.1.13 > > Attachments: HBASE-18679.001.patch > > > YARN has a configuration limit to the number of counters that a job can > create (to avoid some bad job from DDOS'ing the service). > When running ITBLL, we ran into this limit due to the default configuration > rather low at the time. When YARN notices that the counter limit has been > exceeded, it nulls out the Counters object obtained by the Job. > Presently in ITBLL, we have a few places where we (reasonably ;)) assume that > the Counters object would be non-null. Can easily fix this with a null-check. -- This message was sent by Atlassian JIRA (v6.4.14#64029)