mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anand Mazumdar <>
Subject Review Request 52376: Created symlink from child container to task on the default executor.
Date Thu, 29 Sep 2016 02:39:59 GMT

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

Review request for mesos and Vinod Kone.

Bugs: MESOS-6272

Repository: mesos


We currently don't expose the mapping from the child `ContainerId`
to the `TaskID` of the task on the agent. This makes it very
difficult for the WebUI/other tools to construct the path to the
task sandbox. This change modifies the default executor to create
a symlink from 'tasks/taskId' to the 'containers/containerId'
folder thereby allowing these tools to look up the task sandbox
in the 'tasks' folder.


  src/launcher/default_executor.cpp 129c16185a16c292e655403a55781c2c9c569e4f 



Manual testing
ls -l /tmp/mesos_slave1/slaves/d53ae09b-e915-4108-9326-616b6f1de616-S1/frameworks/d53ae09b-e915-4108-9326-616b6f1de616-0002/executors/default-executor/runs/latest/tasks
total 8
lrwxrwxrwx 1 faceoff faceoff 234 Sep 28 19:27 task1 -> /tmp/mesos_slave1/slaves/d53ae09b-e915-4108-9326-616b6f1de616-S1/frameworks/d53ae09b-e915-4108-9326-616b6f1de616-0002/executors/default-executor/runs/9e23c7e0-1e5f-4944-8fde-791cea9c9061/containers/74bc40a0-2911-4eb5-8a79-d001c41cc7cf
lrwxrwxrwx 1 faceoff faceoff 234 Sep 28 19:27 task2 -> /tmp/mesos_slave1/slaves/d53ae09b-e915-4108-9326-616b6f1de616-S1/frameworks/d53ae09b-e915-4108-9326-616b6f1de616-0002/executors/default-executor/runs/9e23c7e0-1e5f-4944-8fde-791cea9c9061/containers/86d403b5-fc3b-4e34-80d1-0642373dd80c


Anand Mazumdar

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