Gastón Kleiman created MESOS-8543:
-------------------------------------

             Summary: The default executor can wrongly indicate that tasks from 
all tasks are unhealthy
                 Key: MESOS-8543
                 URL: https://issues.apache.org/jira/browse/MESOS-8543
             Project: Mesos
          Issue Type: Bug
          Components: executor
            Reporter: Gastón Kleiman


The default executor sets a "global" 
[unhealthy|https://github.com/apache/mesos/blob/7ace6c4c263ebdd8f1605b1c478cb2e7eb9e83a1/src/launcher/default_executor.cpp#L1286]
 field to {{true}} once it kills a task due to failed health checks.

When a task from any task group exits, it will 
[check|https://github.com/apache/mesos/blob/7ace6c4c263ebdd8f1605b1c478cb2e7eb9e83a1/src/launcher/default_executor.cpp#L877-L882]
 that "global" healthy field and set the task status update's {{healthy}} field 
accordingly. This means that once an unhealthy task belonging to a task group 
is killed, task status updates for tasks belonging to other task groups, which 
can contain only healthy tasks, will be sent with their {{healthy}} field set 
to {{false}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to