I think this slave_id is used for status sync up/double check. In master, it'll check whether the special slave_id is equal to task's slave id; if not equal, master log message and ignore kill request.

On 2015年09月15日 17:46, Qian AZ Zhang wrote:
Hi,

In Kill message (scheduler.proto), I found there is a slave_id field:
   message Kill {
     required TaskID task_id = 1;
     optional SlaveID slave_id = 2;
   }

I am just wondering in which case framework needs to specify this field
when it kills a task, I think master should know the slave id of each task,
can we just use the info in master?


Regards,
Qian Zhang

--
Klaus Ma (马达), PMP® | http://www.cguru.net

Reply via email to