You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2017/08/24 21:52:00 UTC

[jira] [Created] (HBASE-18679) YARN may null Counters object and cause an NPE in ITBLL

Josh Elser created HBASE-18679:
----------------------------------

             Summary: 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


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)