mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhishek Dasgupta <>
Subject Re: Review Request 51623: Updated mesos-execute to support task groups.
Date Fri, 16 Sep 2016 18:58:51 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Sept. 16, 2016, 6:58 p.m.)

Review request for mesos, Anand Mazumdar and Vinod Kone.


Updated with --taskgroup option in mesos-execute. In this revision most of the implementation
is almost done. But the current implementation is not working for 'volumes' and 'environment'
in following JSON format: 
        "name": "sleep1",
        "command": "sleep 1000",
        "resources": "cpus:0.2;mem:32",
        "environment": [{
          "name1": "value1"
          "name2": "value2"
         "volumes": [
                     "driver": "rexray",
                            "key": "key",
                            "value": "value"
                     "name": "volume_name"
                "type": "DOCKER_VOLUME"
}, {
        "name": "sleep2",
        "command": "echo hello",
        "environment": [{
          "name1": "value1"
          }, {
           "name2": "value2"

Still need to work on that. It also have another flaw, if any garbage value is provided to
'docker_image', the task is still shown finished. However, this finished status come from
the executor.

Bugs: MESOS-6096

Repository: mesos

Description (updated)

Updated mesos-execute to support task groups.

Diffs (updated)

  src/cli/execute.cpp c9f56af7f37d5b79b51f350d6c533714c170e889 


Testing (updated)

On Ubuntu 16.04:
sudo make -j4

and manually ran this command:
mesos-execute --master= --taskgroup=file:///home/abhishek/taskgroup.txt


Abhishek Dasgupta

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message