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

Remove the constraint of being only able to launch 2 level nested containers on Agent API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Blocker
    • Resolution: Duplicate
    • None
    • 1.2.0
    • None

    Description

      Currently, the Agent API has a constraint that it only allows two level of nesting. This was done at that time since the containerizer was still being worked on to support arbitrary level of nesting. Now, that the work has been completed we should remove the constraint on the API handlers on the agent.

      Note that this constraint also impacts the Debugging API i.e., a user currently can't attach to a task (child container) of a task group since we explicitly check that the top level container belongs to an executor on the API handler.
      https://github.com/apache/mesos/blob/f89f28724f5837ff414dc6cc84e1afb63f3306e5/src/slave/http.cpp#L2189

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              anandmazumdar Anand Mazumdar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: