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

It is currently impossible to kill a task in the Windows executor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 1.2.0
    • agent

    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/

      Attachments

        Activity

          People

            hausdorff Alex Clemmer
            hausdorff Alex Clemmer
            Joseph Wu Joseph Wu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: