Hi all,
I am tracking the task lost problem in my mesos cluster, is there anyone would
tell me when will "void ProcessBasedIsolationModule::processExited(pid_t pid,
int status)" be called?
Thanks very much!
void ProcessBasedIsolationModule::processExited(pid_t pid, int status)
{
foreachkey (const FrameworkID& frameworkId, infos) {
foreachpair (
const ExecutorID& executorId, ProcessInfo* info, infos[frameworkId]) {
if (info->pid == pid) {
LOG(INFO) << "Telling slave of lost executor " << executorId
<< " of framework " << frameworkId;
dispatch(slave,
&Slave::executorTerminated,
frameworkId,
executorId,
status,
false,
"Executor exited");
// Try and cleanup after the executor.
killExecutor(frameworkId, executorId);
return;
}
}
}
}
2013-07-04
Wang Yu