-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/65504/
-----------------------------------------------------------
Review request for mesos, Benjamin Mahler, Chun-Hung Hsiao, and Vinod Kone.
Bugs: MESOS-1720
https://issues.apache.org/jira/browse/MESOS-1720
Repository: mesos
Description
-------
By setting a new field `launch_executor` in the RunTask(Group)Message,
the master is able to control the executor creation on the agent.
Also refactored `addTask()` logic. Added two new functions:
`isTaskLaunchExecutor()` checks if a task needs to launch executor;
`addExecutor()` adds executor to the framework and slave.
Diffs
-----
src/master/master.hpp b434d2398b8815811345b6586ca586d2025cb2a2
src/master/master.cpp cc2685a6bc14103c639ce776cf1c912361e93381
Diff: https://reviews.apache.org/r/65504/diff/1/
Testing
-------
make check
Thanks,
Meng Zhu