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

RMApps Page crashes with NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • webapp
    • None
    • Reviewed

    Description

      =application_1457010932347_0121
      2016-03-04 10:16:27,016 INFO org.apache.hadoop.yarn.server.resourcemanager.security.DelegationTokenRenewer: application_1457010932347_0121 found existing hdfs token Kind: HDFS_DELEGATION_TOKEN, Service: ha-hdfs:hacluster, Ident: (HDFS_DELEGATION_TOKEN token 128 for yarn with renewer yarn)
      2016-03-04 10:16:27,029 ERROR org.apache.hadoop.yarn.webapp.Dispatcher: error handling URI: /cluster/apps
      java.lang.NullPointerException
              at org.apache.hadoop.yarn.server.resourcemanager.webapp.RMAppsBlock.renderData(RMAppsBlock.java:100)
              at org.apache.hadoop.yarn.server.webapp.AppsBlock.render(AppsBlock.java:140)
              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:235)
              at org.apache.hadoop.yarn.webapp.view.HtmlBlock$Block.subView(HtmlBlock.java:43)
              at org.apache.hadoop.yarn.webapp.hamlet.Hamlet._(Hamlet.java:30354)
              at org.apache.hadoop.yarn.server.resourcemanager.webapp.AppsBlockWithMetrics.render(AppsBlockWithMetrics.java:30)
              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:235)
              at org.apache.hadoop.yarn.webapp.view.HtmlPage$Page.subView(HtmlPage.java:49)
              at org.apache.hadoop.yarn.webapp.hamlet.HamletImpl$EImp._v(HamletImpl.java:117)
              at org.apache.hadoop.yarn.webapp.hamlet.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.Dispatcher.render(Dispatcher.java:197)
              at org.apache.hadoop.yarn.webapp.Dispatcher.service(Dispatcher.java:156)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
              at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
      
      

      Application state is NEW the apptempts can be empty as per inital analysis

      rm.getRMContext().getRMApps()
                .get(appAttemptId.getApplicationId()).getAppAttempts()
                .get(appAttemptId)
      

      Attachments

        1. 0001-YARN-4763.patch
          2 kB
          Bibin Chundatt

        Issue Links

          Activity

            People

              bibinchundatt Bibin Chundatt
              bibinchundatt Bibin Chundatt
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: