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

Flexing doesn't consider containers which were stopped

    XMLWordPrintableJSON

Details

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

    Description

      we have use case where if worker is idle for some period of time then user would want to shutdown the worker to release resource and request more workers when load is more.

      In case of ON_FAILURE retry policy if user gracefully shutdown worker its exit status will be 0 so container wont be relaunched. In this case
      if user try to flex up then it currently doesn't consider stopped containers which is not correct.
      i could think of two possible solutions:
      1. Consider deducting succeeded containers from Number Of Containers and then clear succeeded component if flex up/down is done.
      2. Consider updating number of containers when stopped

      Attachments

        Issue Links

          Activity

            People

              BilwaST Bilwa S T
              BilwaST Bilwa S T
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: