----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51623/ -----------------------------------------------------------
(Updated Sept. 18, 2016, 9:11 p.m.) Review request for mesos, Anand Mazumdar and Vinod Kone. Bugs: MESOS-6096 https://issues.apache.org/jira/browse/MESOS-6096 Repository: mesos Description ------- Updated mesos-execute to support task groups. Diffs (updated) ----- src/cli/execute.cpp 525c89803ad1b29328420c5925a3e6045e487645 Diff: https://reviews.apache.org/r/51623/diff/ Testing ------- On Ubuntu 16.04: sudo make -j4 and manually ran this command: **Successful** mesos-execute --master=127.0.0.1:5050 --taskgroup=file:///home/abhishek/taskgroup.txt `/home/abhishek/taskgroup.txt:` { "tasks": [{ "name": "sigmtdroid", "task_id": { "value": "sigmoid" }, "agent_id": { "value": "" }, "resources": [{ "name": "cpus", "type": "SCALAR", "scalar": { "value": 1 }, "role": "*" }, { "name": "mem", "type": "SCALAR", "scalar": { "value": 32 }, "role": "*" }], "command": { "value": "sleep 1000" }, "volumes": [{ "container_path": "/mnt/volume", "mode": "RW", "source": { "docker_volume": { "driver": "volume_driver", "docker_options": { "parameter": [{ "key": "key", "value": "value" }] }, "name": "volume_name" }, "type": "DOCKER_VOLUME" } }] }, { "name": "sigmteroid", "task_id": { "value": "sigmoid2" }, "agent_id": { "value": "" }, "resources": [{ "name": "cpus", "type": "SCALAR", "scalar": { "value": 2 }, "role": "*" }, { "name": "mem", "type": "SCALAR", "scalar": { "value": 32 }, "role": "*" }], "command": { "value": "sleep 1000" }, "volumes": [{ "container_path": "/mnt/volume", "mode": "RW", "source": { "docker_volume": { "driver": "volume_driver", "docker_options": { "parameter": [{ "key": "key", "value": "value" }] }, "name": "volume_name" }, "type": "DOCKER_VOLUME" } }] }] } Thanks, Abhishek Dasgupta