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

Need to support timeout of AM When no containers are assigned to it for a defined period

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • resourcemanager
    • None

    Description

      There are some scenarios where AM will not get containers and indefinitely waiting. We faced one such sceanrio which makes the applications to get hung :
      Consider a cluster setup which has 2 NMS of each 8GB resource,
      And 2 applications(MR2) are launched in the default queue where in each AM is taking 2 GB each.
      Each AM is placed in each of the NM. Now each AM is requesting for container of 7Gb mem resource .
      As in each NM only 6GB resource is available both the applications are hung forever.

      To avoid such scenarios i would like to propose
      generic timeout feature for all AM's in yarn, such that if no containers are assigned for an application for a defined period than yarn can timeout the application attempt.
      Default can be set to 0 where in RM will not timeout the app attempt and user can set his own timeout when he submits the application

      Attachments

        Issue Links

          Activity

            People

              Naganarasimha Naganarasimha G R
              Naganarasimha Naganarasimha G R
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: