[
https://issues.apache.org/jira/browse/HBASE-18679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16141831#comment-16141831
]
Josh Elser commented on HBASE-18679:
------------------------------------
{noformat}
+ LOG.info("Counters object was null, Generator verification cannot be
performed");
...
+ LOG.info("Counters object was null, write verification cannot be
performed");
{noformat}
You're looking for something more specific than this? I intentionally avoided
trying to say "why" the counters are null (while I've seen the case you said,
I've also seen the case when ITBLL would've also succeeded otherwise).
I could modify the message to include something directing the user to "Inspect
their YARN configuration" or similar. Is that more along the lines of what
you're looking for?
> 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)