Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.0.2, 1.1.0, 1.2.0
-
None
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
- is related to
-
MESOS-7242 Subprocess::status() return value is platform dependent.
- Open