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

yarn logs -applicationId on 2.6.0 should support logs written by 2.4.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.6.0
    • 2.6.0
    • log-aggregation
    • None
    • Reviewed

    Description

      Log format version needs to be upped between 2.4.0 and 2.6.0

              at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
              at java.lang.Long.parseLong(Long.java:589)
              at java.lang.Long.parseLong(Long.java:631)
              at org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat$ContainerLogsReader.nextLog(AggregatedLogFormat.java:765)
              at org.apache.hadoop.yarn.webapp.log.AggregatedLogsBlock.readContainerLogs(AggregatedLogsBlock.java:197)
              at org.apache.hadoop.yarn.webapp.log.AggregatedLogsBlock.render(AggregatedLogsBlock.java:166)
              at org.apache.hadoop.yarn.webapp.view.HtmlBlock.render(HtmlBlock.java:67)
              at org.apache.hadoop.yarn.webapp.view.HtmlBlock.renderPartial(HtmlBlock.java:77)
              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:845)
              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.mapreduce.v2.hs.webapp.HsController.logs(HsController.java:178)
              ... 40 more
      

      Attachments

        1. YARN-2788.1.1.patch
          11 kB
          Xuan Gong
        2. YARN-2788.1.patch
          11 kB
          Xuan Gong
        3. YARN-2788.2.patch
          16 kB
          Xuan Gong
        4. YARN-2788.3.patch
          19 kB
          Xuan Gong
        5. YARN-2788.4.patch
          24 kB
          Xuan Gong
        6. YARN-2788.5.patch
          24 kB
          Xuan Gong

        Issue Links

          Activity

            People

              xgong Xuan Gong
              gopalv Gopal Vijayaraghavan
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: