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

Update Container Version in NMStateStore only if Resources have changed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      YARN-5221 introduced a containerVersion that is stored in the NMStateStore. The version is stored when

      1. the container is first started in the NM
      2. when the AM requests the NM to increase the Container resources.
      3. when the RM notifies the NM to decrease the Container resources.

      Unfortunately, this would result in NM not being able to rollback after an upgrade (for eg. from 2.8 > 2.7).. as noticed by jlowe.

      This JIRA proposes to update the version in the NM state store only when 2 and 3 above occurs, this way, the rollback will be hampered only if the user has used the new feature (resource increase / decrease)

      Attachments

        1. YARN-5633-branch-2.8-v1.patch
          2 kB
          Arun Suresh

        Issue Links

          Activity

            People

              asuresh Arun Suresh
              asuresh Arun Suresh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: