Alexander Rukletsov created MESOS-7241:
------------------------------------------
Summary: Executor termination status differs for Posix and Windows
agents.
Key: MESOS-7241
URL: https://issues.apache.org/jira/browse/MESOS-7241
Project: Mesos
Issue Type: Improvement
Components: scheduler api
Affects Versions: 1.2.0, 1.1.0, 1.0.2
Reporter: Alexander Rukletsov
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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)