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

Change getDeclaredMethods to getMethods in FederationClientInterceptor#invokeConcurrent()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: federation
    • Labels:
      None

      Description

      In YARN-8699, FederationClientInterceptor#invokeConcurrent uses getDeclaredMethods(), which cannot recongnize some methods in ApplicationBaseProtocol (ApplicationClientProtocol extend ApplicationBaseProtocol) .
      We have implemented some methods in FederationClientInterceptor, such as getApplications(), GetQueueUserAclsInfo ...etc, when I run "yarn application -list" by connecting to yarn router, router will throw exception.
      So change getDeclaredMethods() to getMethods().

        Attachments

        1. YARN-9124_1.patch
          1 kB
          Shen Yinjie

          Issue Links

            Activity

              People

              • Assignee:
                shenyinjie Shen Yinjie
                Reporter:
                shenyinjie Shen Yinjie
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: