[
https://issues.apache.org/jira/browse/MESOS-7241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Rukletsov updated MESOS-7241:
---------------------------------------
Labels: mesosphere newbie++ tech-debt (was: mesosphere tech-debt)
> 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.0.2, 1.1.0, 1.2.0
> Reporter: Alexander Rukletsov
> Labels: mesosphere, newbie++, tech-debt
>
> 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.4.14#64029)