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 "Arun Suresh (JIRA)" <ji...@apache.org> on 2016/10/19 18:58:59 UTC
[jira] [Commented] (YARN-5753) fix NPE in
AMRMClientImpl.getMatchingRequests()
[ https://issues.apache.org/jira/browse/YARN-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15589544#comment-15589544 ]
Arun Suresh commented on YARN-5753:
-----------------------------------
Thanks for raising this [~haibochen] !
The patch itself looks fine.. Can you maybe add a testcase as well?
> fix NPE in AMRMClientImpl.getMatchingRequests()
> -----------------------------------------------
>
> Key: YARN-5753
> URL: https://issues.apache.org/jira/browse/YARN-5753
> Project: Hadoop YARN
> Issue Type: Bug
> Components: yarn
> Affects Versions: 3.0.0-alpha1
> Reporter: Haibo Chen
> Assignee: Haibo Chen
> Attachments: yarn5753.001.patch
>
>
> {code:java}
> RemoteRequestsTable remoteRequestsTable = getTable(0);
> List<ResourceRequestInfo<T>> matchingRequests =
> remoteRequestsTable.getMatchingRequests(priority, resourceName, executionType, capability);
> {code}
> remoteRequestsTable can be null, causing NPE.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org