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

AggregatedLogsBlock reports a bad 'end' value as a bad 'start' value

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9.0, 3.0.0-beta1
    • Fix Version/s: 2.9.0, 3.0.0-beta1, 3.1.0
    • Component/s: log-aggregation
    • Labels:
      None

      Description

      TestHSWebApp has been failing recently:

      Running org.apache.hadoop.mapreduce.v2.hs.webapp.TestHSWebApp
      Tests run: 17, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.57 sec <<< FAILURE! - in org.apache.hadoop.mapreduce.v2.hs.webapp.TestHSWebApp
      testLogsViewBadStartEnd(org.apache.hadoop.mapreduce.v2.hs.webapp.TestHSWebApp)  Time elapsed: 0.076 sec  <<< FAILURE!
      org.mockito.exceptions.verification.junit.ArgumentsAreDifferent: 
      Argument(s) are different! Wanted:
      printWriter.write(
          "Invalid log end value: bar"
      );
      -> at org.apache.hadoop.mapreduce.v2.hs.webapp.TestHSWebApp.testLogsViewBadStartEnd(TestHSWebApp.java:261)
      Actual invocation has different arguments:
      printWriter.write(
          "<!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)
      
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
      	at org.apache.hadoop.mapreduce.v2.hs.webapp.TestHSWebApp.testLogsViewBadStartEnd(TestHSWebApp.java:261)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jlowe Jason Lowe
                Reporter:
                jlowe Jason Lowe
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: