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

Use new API of RackResolver to get better performance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0, 3.2.1
    • 3.3.0, 3.2.1
    • yarn
    • None
    • Reviewed

    Description

      After adding a new API in RackResolver YARN-9332, some old callers should switch to new API to get better performance. As an example, Spark YarnAllocator for Dynamic Allocation invokes https://github.com/apache/hadoop/blob/6fa229891e06eea62cb9634efde755f40247e816/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/impl/AMRMClientImpl.java#L550 to resolve racks in a loop.

      Attachments

        1. YARN-9394.001.patch
          2 kB
          Lantao Jin
        2. YARN-9394.002.patch
          3 kB
          Lantao Jin
        3. YARN-9394.003.patch
          3 kB
          Lantao Jin

        Issue Links

          Activity

            People

              cltlfcjin Lantao Jin
              cltlfcjin Lantao Jin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: