You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (JIRA)" <ji...@apache.org> on 2017/03/22 16:33:41 UTC

[jira] [Updated] (FLINK-6169) yarnClient should be stopped in AbstractYarnClusterDescriptor in case of error

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

Robert Metzger updated FLINK-6169:
----------------------------------
    Component/s: YARN

> yarnClient should be stopped in AbstractYarnClusterDescriptor in case of error
> ------------------------------------------------------------------------------
>
>                 Key: FLINK-6169
>                 URL: https://issues.apache.org/jira/browse/FLINK-6169
>             Project: Flink
>          Issue Type: Bug
>          Components: YARN
>            Reporter: Ted Yu
>            Priority: Minor
>
> Here is one example:
> {code}
>     if(jobManagerMemoryMb > maxRes.getMemory() ) {
>       failSessionDuringDeployment(yarnClient, yarnApplication);
>       throw new YarnDeploymentException("The cluster does not have the requested resources for the JobManager available!\n"
>         + "Maximum Memory: " + maxRes.getMemory() + "MB Requested: " + jobManagerMemoryMb + "MB. " + NOTE);
>     }
> {code}
> yarnClient should be stopped when deployment fails.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)