Jiayi-Liao commented on a change in pull request #11176:
URL: https://github.com/apache/flink/pull/11176#discussion_r433680258



##########
File path: 
flink-yarn/src/main/java/org/apache/flink/yarn/YarnClusterDescriptor.java
##########
@@ -566,6 +562,22 @@ private ClusterSpecification validateClusterResources(
 
        }
 
+       private void logIfComponentMemNotIntegerMultipleOfYarnMinAllocation(
+                       String componentName,
+                       int componentMemoryMB,
+                       int yarnMinAllocationMB) {
+               int normalizedMemMB = (componentMemoryMB + (yarnMinAllocationMB 
- 1)) / yarnMinAllocationMB * yarnMinAllocationMB;

Review comment:
       @wangyang0918 Yes. It's explicitely set to 0. And I don't know why...




----------------------------------------------------------------
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