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

Node page is broken in YARN UI1 and UI2 including RMWebService api for nodes

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.2.2
    • 3.2.2, 3.4.0, 3.3.1, 2.10.2
    • webapp
    • None

    Description

      YARN-10450 added changes in NodeInfo class.

      Various exceptions are showing while accessing UI2 and UI1 NODE pages. 

      Caused by: java.lang.NullPointerException
              at org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.NodeInfo.<init>(NodeInfo.java:103)
              at org.apache.hadoop.yarn.server.resourcemanager.webapp.NodesPage$NodesBlock.render(NodesPage.java:164)
              at org.apache.hadoop.yarn.webapp.view.HtmlBlock.render(HtmlBlock.java:69)
              at org.apache.hadoop.yarn.webapp.view.HtmlBlock.renderPartial(HtmlBlock.java:79)
              at org.apache.hadoop.yarn.webapp.View.render(View.java:243)
              at org.apache.hadoop.yarn.webapp.view.HtmlPage$Page.subView(HtmlPage.java:49)
              at org.apache.hadoop.yarn.webapp.hamlet2.HamletImpl$EImp._v(HamletImpl.java:117)
              at org.apache.hadoop.yarn.webapp.hamlet2.Hamlet$TD.__(Hamlet.java:848)
              at org.apache.hadoop.yarn.webapp.view.TwoColumnLayout.render(TwoColumnLayout.java:71)
              at org.apache.hadoop.yarn.webapp.view.HtmlPage.render(HtmlPage.java:82)
              at org.apache.hadoop.yarn.webapp.Controller.render(Controller.java:216)
              at org.apache.hadoop.yarn.server.resourcemanager.webapp.RmController.nodes(RmController.java:70)
       
      2020-12-19 22:55:54,846 WARN org.apache.hadoop.yarn.webapp.GenericExceptionHandler: INTERNAL_SERVER_ERROR
      java.lang.NullPointerException
              at org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.NodeInfo.<init>(NodeInfo.java:103)
              at org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices.getNodes(RMWebServices.java:450)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
      

      Attachments

        1. Yarn-UI-Ubuntu.png
          302 kB
          Ayush Saxena
        2. yarnui2onubuntu.png
          469 kB
          Xiaoqiao He
        3. yarnodes.png
          342 kB
          Xiaoqiao He
        4. YARN-10540.001.patch
          1 kB
          Jim Brennan
        5. Screenshot 2020-12-23 at 8.24.42 PM.png
          500 kB
          Sunil G
        6. Screenshot 2020-12-19 at 11.02.14 PM.png
          732 kB
          Sunil G
        7. Screenshot 2020-12-19 at 11.01.43 PM.png
          615 kB
          Sunil G
        8. osx-yarn-ui2.png
          253 kB
          Xiaoqiao He
        9. Mac-Yarn-UI.png
          1.07 MB
          Ayush Saxena

        Issue Links

          Activity

            People

              jbrennan Jim Brennan
              sunilg Sunil G
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: