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

Use new API of RackResolver to get better performance

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.0, 3.2.1
    • Fix Version/s: 3.3.0, 3.2.1
    • Component/s: yarn
    • Labels:
      None
    • Hadoop Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: