You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Maximilian Michels (JIRA)" <ji...@apache.org> on 2016/06/20 15:09:05 UTC
[jira] [Updated] (FLINK-4089) Ineffective null check in
YarnClusterClient#getApplicationStatus()
[ https://issues.apache.org/jira/browse/FLINK-4089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maximilian Michels updated FLINK-4089:
--------------------------------------
Fix Version/s: 1.1.0
> Ineffective null check in YarnClusterClient#getApplicationStatus()
> ------------------------------------------------------------------
>
> Key: FLINK-4089
> URL: https://issues.apache.org/jira/browse/FLINK-4089
> Project: Flink
> Issue Type: Bug
> Reporter: Ted Yu
> Fix For: 1.1.0
>
>
> Here is related code:
> {code}
> if(pollingRunner == null) {
> LOG.warn("YarnClusterClient.getApplicationStatus() has been called on an uninitialized cluster." +
> "The system might be in an erroneous state");
> }
> ApplicationReport lastReport = pollingRunner.getLastReport();
> {code}
> If pollingRunner is null, NPE would result from the getLastReport() call.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)