Details

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

      Description

      TestAMWebApp.testMRWebAppRedirection fails.

      Running org.apache.hadoop.mapreduce.v2.app.webapp.TestAMWebApp
      Tests run: 12, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 27.337 sec <<< FAILURE! - in org.apache.hadoop.mapreduce.v2.app.webapp.TestAMWebApp
      testMRWebAppRedirection(org.apache.hadoop.mapreduce.v2.app.webapp.TestAMWebApp)  Time elapsed: 0.854 sec  <<< FAILURE!
      org.junit.ComparisonFailure: expected:<...ttp://9.9.9.9/proxy/[]application_0_0000/m...> but was:<...ttp://9.9.9.9/proxy/[redirect/]application_0_0000/m...>
      	at org.junit.Assert.assertEquals(Assert.java:115)
      	at org.junit.Assert.assertEquals(Assert.java:144)
      	at org.apache.hadoop.mapreduce.v2.app.webapp.TestAMWebApp.testMRWebAppRedirection(TestAMWebApp.java:253)
      

        Issue Links

          Activity

          Hide
          templedf Daniel Templeton added a comment -

          This is from YARN-4767. I'll look into it.

          Show
          templedf Daniel Templeton added a comment - This is from YARN-4767 . I'll look into it.
          Hide
          templedf Daniel Templeton added a comment -

          This should resolve the issue.

          Show
          templedf Daniel Templeton added a comment - This should resolve the issue.
          Hide
          hadoopqa Hadoop QA added a comment -
          +1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 11s Docker mode activated.
          +1 @author 0m 0s The patch does not contain any @author tags.
          +1 test4tests 0m 0s The patch appears to include 1 new or modified test files.
          0 mvndep 0m 16s Maven dependency ordering for branch
          +1 mvninstall 7m 31s trunk passed
          +1 compile 7m 34s trunk passed
          +1 checkstyle 1m 48s trunk passed
          +1 mvnsite 1m 1s trunk passed
          +1 mvneclipse 0m 32s trunk passed
          +1 findbugs 1m 15s trunk passed
          +1 javadoc 0m 27s trunk passed
          0 mvndep 0m 14s Maven dependency ordering for patch
          +1 mvninstall 0m 36s the patch passed
          +1 compile 7m 13s the patch passed
          +1 javac 7m 13s the patch passed
          +1 checkstyle 1m 34s the patch passed
          +1 mvnsite 0m 46s the patch passed
          +1 mvneclipse 0m 28s the patch passed
          +1 whitespace 0m 0s The patch has no whitespace issues.
          +1 findbugs 1m 13s the patch passed
          +1 javadoc 0m 27s the patch passed
          +1 unit 0m 23s hadoop-yarn-server-web-proxy in the patch passed.
          +1 unit 8m 48s hadoop-mapreduce-client-app in the patch passed.
          +1 asflicense 0m 20s The patch does not generate ASF License warnings.
          43m 26s



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:9560f25
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12831808/MAPREDUCE-6789.001.patch
          JIRA Issue MAPREDUCE-6789
          Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
          uname Linux 034880c0008b 3.13.0-95-generic #142-Ubuntu SMP Fri Aug 12 17:00:09 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
          Build tool maven
          Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
          git revision trunk / 00160f7
          Default Java 1.8.0_101
          findbugs v3.0.0
          Test Results https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/6752/testReport/
          modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-web-proxy hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app U: .
          Console output https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/6752/console
          Powered by Apache Yetus 0.3.0 http://yetus.apache.org

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - +1 overall Vote Subsystem Runtime Comment 0 reexec 0m 11s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. +1 test4tests 0m 0s The patch appears to include 1 new or modified test files. 0 mvndep 0m 16s Maven dependency ordering for branch +1 mvninstall 7m 31s trunk passed +1 compile 7m 34s trunk passed +1 checkstyle 1m 48s trunk passed +1 mvnsite 1m 1s trunk passed +1 mvneclipse 0m 32s trunk passed +1 findbugs 1m 15s trunk passed +1 javadoc 0m 27s trunk passed 0 mvndep 0m 14s Maven dependency ordering for patch +1 mvninstall 0m 36s the patch passed +1 compile 7m 13s the patch passed +1 javac 7m 13s the patch passed +1 checkstyle 1m 34s the patch passed +1 mvnsite 0m 46s the patch passed +1 mvneclipse 0m 28s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 findbugs 1m 13s the patch passed +1 javadoc 0m 27s the patch passed +1 unit 0m 23s hadoop-yarn-server-web-proxy in the patch passed. +1 unit 8m 48s hadoop-mapreduce-client-app in the patch passed. +1 asflicense 0m 20s The patch does not generate ASF License warnings. 43m 26s Subsystem Report/Notes Docker Image:yetus/hadoop:9560f25 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12831808/MAPREDUCE-6789.001.patch JIRA Issue MAPREDUCE-6789 Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux 034880c0008b 3.13.0-95-generic #142-Ubuntu SMP Fri Aug 12 17:00:09 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 00160f7 Default Java 1.8.0_101 findbugs v3.0.0 Test Results https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/6752/testReport/ modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-web-proxy hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app U: . Console output https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/6752/console Powered by Apache Yetus 0.3.0 http://yetus.apache.org This message was automatically generated.
          Hide
          ajisakaa Akira Ajisaka added a comment -

          LGTM, +1. Checking this in.

          Show
          ajisakaa Akira Ajisaka added a comment - LGTM, +1. Checking this in.
          Hide
          ajisakaa Akira Ajisaka added a comment -

          Committed this to trunk and branch-2. Thanks Daniel Templeton for the quick fix!

          Show
          ajisakaa Akira Ajisaka added a comment - Committed this to trunk and branch-2. Thanks Daniel Templeton for the quick fix!
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10552 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10552/)
          MAPREDUCE-6789. Fix TestAMWebApp failure. Contributed by Daniel (aajisaka: rev 272a21747e8a89b6daccc19b71c21de3d17b8d62)

          • (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-web-proxy/src/main/java/org/apache/hadoop/yarn/server/webproxy/ProxyUriUtils.java
          • (edit) hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/test/java/org/apache/hadoop/mapreduce/v2/app/webapp/TestAMWebApp.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10552 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10552/ ) MAPREDUCE-6789 . Fix TestAMWebApp failure. Contributed by Daniel (aajisaka: rev 272a21747e8a89b6daccc19b71c21de3d17b8d62) (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-web-proxy/src/main/java/org/apache/hadoop/yarn/server/webproxy/ProxyUriUtils.java (edit) hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/test/java/org/apache/hadoop/mapreduce/v2/app/webapp/TestAMWebApp.java

            People

            • Assignee:
              templedf Daniel Templeton
              Reporter:
              ajisakaa Akira Ajisaka
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development