tillrohrmann commented on a change in pull request #8224: [FLINK-12139][Mesos] 
Add disk space parameter.
URL: https://github.com/apache/flink/pull/8224#discussion_r277776988
 
 

 ##########
 File path: 
flink-mesos/src/main/java/org/apache/flink/mesos/runtime/clusterframework/LaunchableMesosWorker.java
 ##########
 @@ -220,6 +220,7 @@ public String toString() {
                taskInfo.addAllResources(allocation.takeScalar("cpus", 
taskRequest.getCPUs(), roles));
                taskInfo.addAllResources(allocation.takeScalar("gpus", 
taskRequest.getGPUs(), roles));
                taskInfo.addAllResources(allocation.takeScalar("mem", 
taskRequest.getMemory(), roles));
+               taskInfo.addAllResources(allocation.takeScalar("disk", 
taskRequest.getDisk(), roles));
 
 Review comment:
   What is the default Mesos value if `disk` is not specified?

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