hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunil G (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-4338) NPE in RegularContainerAllocator.preCheckForNewContainer()
Date Mon, 09 Nov 2015 08:15:11 GMT

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

Sunil G commented on YARN-4338:
-------------------------------

Recently in YARN-4250, there were a chance that {{anyRequest.getNodeLabelExpression()}} become
null becaue ApplicationMasterService may not normalizes expression always.

> 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
>         Attachments: YARN-4338.001.patch
>
>
> 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)

Mime
View raw message