tillrohrmann commented on a change in pull request #10716: 
[FLINK-15367][runtime] Handle backwards compatibility of 
"taskmanager.heap.size" differently for standalone / active setups
URL: https://github.com/apache/flink/pull/10716#discussion_r362780302
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/clusterframework/TaskExecutorResourceUtils.java
 ##########
 @@ -688,4 +669,55 @@ public static Configuration 
adjustConfigurationForLocalExecution(final Configura
 
                return modifiedConfig;
        }
+
+       public static Configuration 
adjustConfigurationForStandaloneSetups(final Configuration configuration) {
+               return 
getConfigurationMapLegacyTaskManagerHeapSizeToConfigOption(
+                       configuration, TaskManagerOptions.TOTAL_FLINK_MEMORY);
+       }
 
 Review comment:
   Same here, just to `BashJavaUtils`.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to