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

NM applicationpage cause internal error 500

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Use url <NODE HTTP IP PORT>/node/application/<appid>

      Case 1

      Caused by: java.lang.NullPointerException
              at org.apache.hadoop.yarn.server.nodemanager.webapp.dao.AppInfo.<init>(AppInfo.java:45)
              at org.apache.hadoop.yarn.server.nodemanager.webapp.ApplicationPage$ApplicationBlock.render(ApplicationPage.java:82)
              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.Controller.render(Controller.java:212)
              at org.apache.hadoop.yarn.server.nodemanager.webapp.NMController.application(NMController.java:58)
              ... 44 more
      
      

      Case 2

              at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
      Caused by: java.util.NoSuchElementException
              at com.google.common.base.AbstractIterator.next(AbstractIterator.java:75)
              at org.apache.hadoop.yarn.util.ConverterUtils.toApplicationId(ConverterUtils.java:131)
              at org.apache.hadoop.yarn.util.ConverterUtils.toApplicationId(ConverterUtils.java:126)
              at org.apache.hadoop.yarn.server.nodemanager.webapp.ApplicationPage$ApplicationBlock.render(ApplicationPage.java:79)
              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.Controller.render(Controller.java:212)
              at org.apache.hadoop.yarn.server.nodemanager.webapp.NMController.application(NMController.java:58)
              ... 44 more
      
      

        Attachments

        1. 0001-YARN-4810.patch
          6 kB
          Bibin A Chundatt
        2. 0002-YARN-4810.patch
          6 kB
          Bibin A Chundatt
        3. 1.png
          72 kB
          Bibin A Chundatt
        4. 2.png
          64 kB
          Bibin A Chundatt

          Activity

            People

            • Assignee:
              bibinchundatt Bibin A Chundatt
              Reporter:
              bibinchundatt Bibin A Chundatt
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: