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

Cleanup FixedValueResource to avoid dependency to ResourceUtils

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.0.0, 2.10.0
    • resourcemanager
    • None
    • Reviewed

    Description

      After YARN-7307, Client/AM don't need to keep a up-to-dated resource-type.xml in the classpath. Instead, they can use YarnClient/ApplicationMasterProtocol APIs to get the resource types from RM and refresh local types.

      One biggest issue of this approach is FixedValueResource: Since we initialize FixedValueResource in static block, and they won't be updated if resource types refreshed.

      So we need to properly update FixedValueResource to make it can get up-to-date results

      Attachments

        1. YARN-7410.001.patch
          12 kB
          Sunil G
        2. YARN-7410.002.patch
          4 kB
          Wangda Tan
        3. YARN-7410.003.patch
          4 kB
          Wangda Tan
        4. YARN-7410.branch-3.0.003.patch
          4 kB
          Wangda Tan

        Issue Links

          Activity

            People

              leftnoteasy Wangda Tan
              sunilg Sunil G
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: