[ 
https://issues.apache.org/jira/browse/MESOS-6839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Clemmer updated MESOS-6839:
--------------------------------
    Description: 
After some investigation, the root cause seems to be that `kill_job` expects 
the executor to launch a task with `CreateProcess` and the put that into a job 
object, but in `MesosContainerizerLaunch::execute`, we're actually just calling 
`execvpe`. We should refactor this code so that this gets properly contained 
inside a job object on Windows.

Additionally, since we're not propagating errors when an attempt to kill a 
process group fails, we get very mysterious errors and hanging tests (see 
review at [1]), so we should fix that too.

[1] https://reviews.apache.org/r/55028/

> It is currently impossible to kill a task in the Windows executor
> -----------------------------------------------------------------
>
>                 Key: MESOS-6839
>                 URL: https://issues.apache.org/jira/browse/MESOS-6839
>             Project: Mesos
>          Issue Type: Bug
>          Components: agent
>            Reporter: Alex Clemmer
>            Assignee: Alex Clemmer
>            Priority: Blocker
>              Labels: microsoft
>
> After some investigation, the root cause seems to be that `kill_job` expects 
> the executor to launch a task with `CreateProcess` and the put that into a 
> job object, but in `MesosContainerizerLaunch::execute`, we're actually just 
> calling `execvpe`. We should refactor this code so that this gets properly 
> contained inside a job object on Windows.
> Additionally, since we're not propagating errors when an attempt to kill a 
> process group fails, we get very mysterious errors and hanging tests (see 
> review at [1]), so we should fix that too.
> [1] https://reviews.apache.org/r/55028/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to