Why are FrameworkToExecutorMessage and ExecutorToFrameworkMessage transmitted along different paths?

2016-01-05 Thread sujz.buaa
Hi, all: I am using mesos-0.22.0, I noticed that FrameworkToExecutorMessage is sent along path: Scheduler->Master->Slave->Executor, while ExecutorToFrameworkMessage is sent along path: Executor->Slave->Scheduler, So is there some reason or benefit for bypassing master while transmitting Ex

Doubt on implementation of collecting container resource usage

2015-12-11 Thread sujz.buaa
Hi, all: I find that periodical collection of resource usage is implemented by reading '/proc/pid/stat' file once per second, instead of running htop command in shell and parsing output of it, and currently it seems that mesos can only monitor usage of per-process, necessary extention must be m