hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haibo Chen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-5753) fix NPE in AMRMClientImpl.getMatchingRequests()
Date Wed, 19 Oct 2016 21:22:59 GMT

     [ https://issues.apache.org/jira/browse/YARN-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Haibo Chen updated YARN-5753:
-----------------------------
    Attachment: yarn5753.002.patch

Thanks [~asuresh] for your reviews! Attaching a new patch that includes a test.

> 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, 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.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message