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

Executor termination status differs for Posix and Windows agents.

    XMLWordPrintableJSON

Details

    Description

      In scheduler API, Event.failure.status contains the exit status for an executor. On Posix, status corresponds to termination information in the stat_loc area returned from a waitpid call. On Windows, status is obtained via calling the GetExitCodeProcess() function. For messages coming from Posix agents, schedulers need to apply WEXITSTATUS family macros or equivalent transformations to obtain exit codes.

      We should consider consolidating Posix and Windows behavior.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              alexr Alex R
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: