I build mesos-1.0.0-rc2 with network isolator. And try to set 
max_executors_per_agent=10 to test if docker task would be limited in 10 on 
every mesos agent. In fact, my case is launching 40 tasks (0.1core 0.1M mem 
each) on three different agent machine, and both agent launched more than 10 
tasks.


I found mesos master hold executor data in a haspmap, and the key is ExecutorID.

https://github.com/apache/mesos/blob/1.0.x/src/master/master.hpp#L306

https://github.com/apache/mesos/blob/1.0.x/src/master/master.cpp#L5747


Then I get state.json from mesos master to looking for any executor 
information. Then I found executer_id is empty string in taskInfo json. Is 
there any relation between the empty executor id and max_executors_per_agent 
issue?


My OS is centos 7.2.


Thanks for any reply [😊] .

Reply via email to