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

Change getDeclaredMethods to getMethods in FederationClientInterceptor#invokeConcurrent()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0
    • federation
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: