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 "Akira Ajisaka (JIRA)" <ji...@apache.org> on 2017/09/13 07:59:01 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=16164272#comment-16164272 ]
Akira Ajisaka commented on YARN-5753:
-------------------------------------
Cherry-picked to branch-2.
> 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
> Fix For: 2.9.0, 3.0.0-alpha2
>
> Attachments: yarn5753.001.patch, yarn5753.002.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.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org