Github user hsaputra commented on a diff in the pull request: https://github.com/apache/flink/pull/876#discussion_r33604736 --- Diff: flink-yarn/src/main/java/org/apache/flink/yarn/FlinkYarnClient.java --- @@ -591,14 +592,17 @@ protected AbstractFlinkYarnCluster deployInternal(String clusterName) throws Exc capability.setMemory(jobManagerMemoryMb); capability.setVirtualCores(1); - if(clusterName == null) { - clusterName = "Flink session with "+taskManagerCount+" TaskManagers"; + if(defaultName == null) { + defaultName = "Flink session with "+taskManagerCount+" TaskManagers"; } if(detached) { - clusterName += " (detached)"; + defaultName += " (detached)"; } - appContext.setApplicationName(clusterName); // application name + if(this.customName != null) { --- End diff -- Should probably check for empty or blank name I suppose
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---