Github user tillrohrmann commented on a diff in the pull request:

    https://github.com/apache/flink/pull/3608#discussion_r108166257
  
    --- Diff: 
flink-yarn/src/main/java/org/apache/flink/yarn/AbstractYarnClusterDescriptor.java
 ---
    @@ -507,12 +507,14 @@ protected YarnClusterClient deployInternal() throws 
Exception {
                final String NOTE = "Please check the 
'yarn.scheduler.maximum-allocation-mb' and the 
'yarn.nodemanager.resource.memory-mb' configuration values\n";
                if(jobManagerMemoryMb > maxRes.getMemory() ) {
                        failSessionDuringDeployment(yarnClient, 
yarnApplication);
    +             yarnClient.stop();
    --- End diff --
    
    This is already called in `failSessionDuringDeployment`.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to