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

YARN UI is broken in the minicluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • None
    • None

    Description

      YARN web apps use non-injected instances of GuiceFilter, i.e. instances created by Jetty as opposed by Guice itself. This triggers the call path where the static field pipeline is used instead of the instance field injectedPipeline. However, besides GuiceFilter instances created by Jetty, each Guice module generates them as well. On the injection call path this static variable is updated by each instance. Thus if there are multiple modules as it happens to be the case in the minicluster the one loaded last ends up defining the filter pipeline for all Jetty instances. In the minicluster case this is the nodemanager UI

      Attachments

        1. YARN-7747.001.patch
          6 kB
          Gera Shegalov
        2. YARN-7747.002.patch
          9 kB
          Gera Shegalov

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jira.shegalov Gera Shegalov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: