azagrebin commented on a change in pull request #9910: [FLINK-14405][runtime] 
Align ResourceProfile/ResourceSpec fields with the new TaskExecutor memory 
setups.
URL: https://github.com/apache/flink/pull/9910#discussion_r335503685
 
 

 ##########
 File path: 
flink-core/src/main/java/org/apache/flink/api/common/operators/ResourceSpec.java
 ##########
 @@ -70,72 +70,88 @@
        /** How many cpu cores are needed, use double so we can specify cpu 
like 0.1. */
        private final double cpuCores;
 
-       /** How many java heap memory in mb are needed. */
-       private final int heapMemoryInMB;
+       /** How many task heap memory are needed. */
 
 Review comment:
   also @Nullable, with a comment `null` means no requirement etc
   getters should return `Optional.ofNullable` according to the code style

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


With regards,
Apache Git Services

Reply via email to