You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Xinwei Qin (JIRA)" <ji...@apache.org> on 2015/11/09 09:08:10 UTC

[jira] [Created] (YARN-4338) NPE in RegularContainerAllocator.preCheckForNewContainer()

Xinwei Qin  created YARN-4338:
---------------------------------

             Summary: NPE in RegularContainerAllocator.preCheckForNewContainer()
                 Key: YARN-4338
                 URL: https://issues.apache.org/jira/browse/YARN-4338
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Xinwei Qin 
            Priority: Minor


The codes in RegularContainerAllocator.preCheckForNewContainer():
{code}
    if (anyRequest.getNodeLabelExpression()
        .equals(RMNodeLabelsManager.NO_LABEL)) {
      missedNonPartitionedRequestSchedulingOpportunity =
          application
              .addMissedNonPartitionedRequestSchedulingOpportunity(priority);
    }
{code}
{code}anyRequest.getNodeLabelExpression(){code}may return null.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)