Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-6786

TASK_KILLED updates do not provide a reason why the task has been killed.

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.2, 1.1.0
    • Fix Version/s: None
    • Component/s: None

      Description

      At least the following reasons can lead to a task being killed:

      • The executor decided to kill it, e.g., if it was unhealthy.
      • The framework requested the kill.
      • An operator requested the kill.

      The executors bundled with Mesos don't set a reason in the TaskStatus message, making it hard to debug task kills.

      I think that we should extend the TaskStatus.Reason enum with reasons for those three cases.

      In the case of health check failures, the executors should also populate the message field with useful debugging information.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              gkleiman Gastón Kleiman
              Shepherd:
              Alexander Rukletsov
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Development