tillrohrmann commented on a change in pull request #14577:
URL: https://github.com/apache/flink/pull/14577#discussion_r553273001



##########
File path: 
flink-yarn/src/main/java/org/apache/flink/yarn/YarnClusterDescriptor.java
##########
@@ -1781,6 +1781,12 @@ private void setClusterEntrypointInfoToConfig(final 
ApplicationReport report) {
 
         flinkConfiguration.set(
                 YarnConfigOptions.APPLICATION_ID, 
ConverterUtils.toString(clusterId));
+
+        // set cluster-id to app id if not specified
+        if 
(!flinkConfiguration.contains(HighAvailabilityOptions.HA_CLUSTER_ID)) {

Review comment:
       Ok, let me see what I can simplify here.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to