Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5501

Container Pooling in YARN

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      This JIRA proposes a method for reducing the container launch latency in YARN. It introduces a notion of pooling Unattached Pre-Initialized Containers.

      Proposal in brief:

      • Have a Pre-Initialized Container Factory service within the NM to create these unattached containers.
      • The NM would then advertise these containers as special resource types (this should be possible via YARN-3926).
      • When a start container request is received by the node manager for launching a container requesting this specific type of resource, it will take one of these unattached pre-initialized containers from the pool, and use it to service the container request.
      • Once the request is complete, the pre-initialized container would be released and ready to serve another request.

      This capability would help reduce container launch latencies and thereby allow for development of more interactive applications on YARN.

      Attachments

        1. Container Pooling in YARN.pdf
          380 kB
          Hitesh Sharma
        2. Container Pooling - one pager.pdf
          545 kB
          Hitesh Sharma

        Activity

          People

            hrsharma Hitesh Sharma
            asuresh Arun Suresh
            Votes:
            0 Vote for this issue
            Watchers:
            23 Start watching this issue

            Dates

              Created:
              Updated: