You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/04/23 16:58:35 UTC

[GitHub] [flink] tillrohrmann commented on a change in pull request #8224: [FLINK-12139][Mesos] Add disk space parameter.

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


With regards,
Apache Git Services