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

Agent miss to detach `virtualLatestPath` for the executor's sandbox during recovery

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0, 1.6.0
    • agent
    • None
    • Mesosphere Sprint 72
    • 1

    Description

      In Framework::recoverExecutor(), we attach executor->directory to 3 virtual paths:
      (1) /agent_workdir/frameworks/FID/executors/EID/runs/CID
      (2) /agent_workdir/frameworks/FID/executors/EID/runs/latest
      (3) /frameworks/FID/executors/EID/runs/latest
      But in this method, when we find the executor completes, we only do detach for (1) and (2) but not (3). We should do detach for (3) too as what we do in Slave::removeExecutor, otherwise, it will be a leak.

      Attachments

        Activity

          People

            qianzhang Qian Zhang
            qianzhang Qian Zhang
            Vinod Kone Vinod Kone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: