JingsongLi commented on a change in pull request #10427: [FLINK-14566] Enable 
to get/set whether an operator uses managed memory
URL: https://github.com/apache/flink/pull/10427#discussion_r354191173
 
 

 ##########
 File path: 
flink-core/src/main/java/org/apache/flink/api/dag/Transformation.java
 ##########
 @@ -254,6 +265,34 @@ public ResourceSpec getPreferredResources() {
                return preferredResources;
        }
 
+       /**
+        * Set the managed memory weight which indicates how much this 
transformation relies
+        * on managed memory, so that a transformation highly relies on managed 
memory would
+        * be able to acquire more managed memory in runtime (linear 
association). The default
+        * weight value is 1. Note that currently it's only allowed to set the 
weight to values
+        * other than 1 in cases of UNKNOWN resources.
 
 Review comment:
   other than 1? 0?

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