Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-7230

TestHSWebApp.testLogsViewSingle fails

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      TestHSWebApp.testLogsViewSingle fails.

      [ERROR] testLogsViewSingle(org.apache.hadoop.mapreduce.v2.hs.webapp.TestHSWebApp)  Time elapsed: 0.294 s  <<< FAILURE!
      Argument(s) are different! Wanted:
      printWriter.write(
          "Logs not available for container_10_0001_01_000001. Aggregation may not be complete, Check back later or try the nodemanager at localhost:1234"
      );
      -> at org.apache.hadoop.mapreduce.v2.hs.webapp.TestHSWebApp.testLogsViewSingle(TestHSWebApp.java:234)
      Actual invocations have different arguments:
      printWriter.print(
          "<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">"
      );
      -> at org.apache.hadoop.yarn.webapp.view.TextView.echoWithoutEscapeHtml(TextView.java:62)
      printWriter.write(
          "<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">"
      );
      -> at java.io.PrintWriter.print(PrintWriter.java:617)
      printWriter.write(
          "<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">",
          0,
          90
      );
      -> at java.io.PrintWriter.write(PrintWriter.java:473)
      printWriter.println(
          
      );
      -> at org.apache.hadoop.yarn.webapp.view.TextView.putWithoutEscapeHtml(TextView.java:81)
      printWriter.print(
          "<html"
      );
      -> at org.apache.hadoop.yarn.webapp.hamlet2.HamletImpl.printStartTag(HamletImpl.java:273)
      printWriter.write(
          "<html"
      );
      -> at java.io.PrintWriter.print(PrintWriter.java:603)
      printWriter.write(
          "<html",
          0,
          5
      );
      

      Attachments

        1. MAPREDUCE-7230-001.patch
          2 kB
          Prabhu Joseph

        Issue Links

          Activity

            People

              prabhujoseph Prabhu Joseph
              prabhujoseph Prabhu Joseph
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: