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

ResourceManager web redirects in HA mode drops query parameters

    Details

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

      Description

      The RMWebAppFilter redirects http requests from the standby to the active. However it drops all the query parameters when it does the redirect.

      1. YARN-4820.003.patch
        6 kB
        Varun Vasudev
      2. YARN-4820.002.patch
        6 kB
        Varun Vasudev
      3. YARN-4820.001.patch
        3 kB
        Varun Vasudev

        Issue Links

          Activity

          Hide
          vvasudev Varun Vasudev added a comment -

          Thanks Junping Du!

          Show
          vvasudev Varun Vasudev added a comment - Thanks Junping Du !
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-trunk-Commit #9494 (See https://builds.apache.org/job/Hadoop-trunk-Commit/9494/)
          YARN-4820. ResourceManager web redirects in HA mode drops query (junping_du: rev 19b645c93801a53d4486f9a7639186525e51f723)

          • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/RMWebAppFilter.java
          • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/TestRMFailover.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #9494 (See https://builds.apache.org/job/Hadoop-trunk-Commit/9494/ ) YARN-4820 . ResourceManager web redirects in HA mode drops query (junping_du: rev 19b645c93801a53d4486f9a7639186525e51f723) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/RMWebAppFilter.java hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/TestRMFailover.java
          Hide
          djp Junping Du added a comment -

          I have commit the patch to trunk and branch-2.8. Thanks Varun Vasudev for the patch and Steve Loughran for review comments!

          Show
          djp Junping Du added a comment - I have commit the patch to trunk and branch-2.8. Thanks Varun Vasudev for the patch and Steve Loughran for review comments!
          Hide
          djp Junping Du added a comment -

          +1. Will commit it shortly if no further comments.

          Show
          djp Junping Du added a comment - +1. Will commit it shortly if no further comments.
          Hide
          vvasudev Varun Vasudev added a comment -

          The test failures are unrelated to the patch.

          Show
          vvasudev Varun Vasudev added a comment - The test failures are unrelated to the patch.
          Hide
          hadoopqa Hadoop QA added a comment -
          -1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 18s 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 19s Maven dependency ordering for branch
          +1 mvninstall 7m 58s trunk passed
          +1 compile 2m 44s trunk passed with JDK v1.8.0_74
          +1 compile 2m 26s trunk passed with JDK v1.7.0_95
          +1 checkstyle 0m 35s trunk passed
          +1 mvnsite 1m 2s trunk passed
          +1 mvneclipse 0m 29s trunk passed
          +1 findbugs 1m 50s trunk passed
          +1 javadoc 0m 48s trunk passed with JDK v1.8.0_74
          +1 javadoc 0m 47s trunk passed with JDK v1.7.0_95
          0 mvndep 0m 11s Maven dependency ordering for patch
          +1 mvninstall 0m 53s the patch passed
          +1 compile 2m 48s the patch passed with JDK v1.8.0_74
          +1 javac 2m 48s the patch passed
          +1 compile 2m 27s the patch passed with JDK v1.7.0_95
          +1 javac 2m 27s the patch passed
          +1 checkstyle 0m 33s the patch passed
          +1 mvnsite 0m 58s the patch passed
          +1 mvneclipse 0m 25s the patch passed
          +1 whitespace 0m 0s Patch has no whitespace issues.
          +1 findbugs 2m 11s the patch passed
          +1 javadoc 0m 47s the patch passed with JDK v1.8.0_74
          +1 javadoc 0m 43s the patch passed with JDK v1.7.0_95
          -1 unit 76m 37s hadoop-yarn-server-resourcemanager in the patch failed with JDK v1.8.0_74.
          -1 unit 63m 40s hadoop-yarn-client in the patch failed with JDK v1.8.0_74.
          -1 unit 74m 37s hadoop-yarn-server-resourcemanager in the patch failed with JDK v1.7.0_95.
          -1 unit 63m 56s hadoop-yarn-client in the patch failed with JDK v1.7.0_95.
          +1 asflicense 0m 21s Patch does not generate ASF License warnings.
          311m 46s



          Reason Tests
          JDK v1.8.0_74 Failed junit tests hadoop.yarn.server.resourcemanager.TestClientRMTokens
            hadoop.yarn.server.resourcemanager.TestAMAuthorization
            hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation
            hadoop.yarn.client.TestGetGroups
          JDK v1.8.0_74 Timed out junit tests org.apache.hadoop.yarn.client.cli.TestYarnCLI
            org.apache.hadoop.yarn.client.api.impl.TestYarnClient
            org.apache.hadoop.yarn.client.api.impl.TestAMRMClient
            org.apache.hadoop.yarn.client.api.impl.TestNMClient
          JDK v1.7.0_95 Failed junit tests hadoop.yarn.server.resourcemanager.TestClientRMTokens
            hadoop.yarn.server.resourcemanager.TestAMAuthorization
            hadoop.yarn.client.TestGetGroups
          JDK v1.7.0_95 Timed out junit tests org.apache.hadoop.yarn.client.cli.TestYarnCLI
            org.apache.hadoop.yarn.client.api.impl.TestYarnClient
            org.apache.hadoop.yarn.client.api.impl.TestAMRMClient
            org.apache.hadoop.yarn.client.api.impl.TestNMClient



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:fbe3e86
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12794784/YARN-4820.003.patch
          JIRA Issue YARN-4820
          Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
          uname Linux 8bff7762d0d1 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
          Build tool maven
          Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
          git revision trunk / e7ed05e
          Default Java 1.7.0_95
          Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_74 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_95
          findbugs v3.0.0
          unit https://builds.apache.org/job/PreCommit-YARN-Build/10845/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.8.0_74.txt
          unit https://builds.apache.org/job/PreCommit-YARN-Build/10845/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.8.0_74.txt
          unit https://builds.apache.org/job/PreCommit-YARN-Build/10845/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.7.0_95.txt
          unit https://builds.apache.org/job/PreCommit-YARN-Build/10845/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.7.0_95.txt
          unit test logs https://builds.apache.org/job/PreCommit-YARN-Build/10845/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.8.0_74.txt https://builds.apache.org/job/PreCommit-YARN-Build/10845/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.8.0_74.txt https://builds.apache.org/job/PreCommit-YARN-Build/10845/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.7.0_95.txt https://builds.apache.org/job/PreCommit-YARN-Build/10845/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.7.0_95.txt
          JDK v1.7.0_95 Test Results https://builds.apache.org/job/PreCommit-YARN-Build/10845/testReport/
          modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client U: hadoop-yarn-project/hadoop-yarn
          Console output https://builds.apache.org/job/PreCommit-YARN-Build/10845/console
          Powered by Apache Yetus 0.2.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 18s 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 19s Maven dependency ordering for branch +1 mvninstall 7m 58s trunk passed +1 compile 2m 44s trunk passed with JDK v1.8.0_74 +1 compile 2m 26s trunk passed with JDK v1.7.0_95 +1 checkstyle 0m 35s trunk passed +1 mvnsite 1m 2s trunk passed +1 mvneclipse 0m 29s trunk passed +1 findbugs 1m 50s trunk passed +1 javadoc 0m 48s trunk passed with JDK v1.8.0_74 +1 javadoc 0m 47s trunk passed with JDK v1.7.0_95 0 mvndep 0m 11s Maven dependency ordering for patch +1 mvninstall 0m 53s the patch passed +1 compile 2m 48s the patch passed with JDK v1.8.0_74 +1 javac 2m 48s the patch passed +1 compile 2m 27s the patch passed with JDK v1.7.0_95 +1 javac 2m 27s the patch passed +1 checkstyle 0m 33s the patch passed +1 mvnsite 0m 58s the patch passed +1 mvneclipse 0m 25s the patch passed +1 whitespace 0m 0s Patch has no whitespace issues. +1 findbugs 2m 11s the patch passed +1 javadoc 0m 47s the patch passed with JDK v1.8.0_74 +1 javadoc 0m 43s the patch passed with JDK v1.7.0_95 -1 unit 76m 37s hadoop-yarn-server-resourcemanager in the patch failed with JDK v1.8.0_74. -1 unit 63m 40s hadoop-yarn-client in the patch failed with JDK v1.8.0_74. -1 unit 74m 37s hadoop-yarn-server-resourcemanager in the patch failed with JDK v1.7.0_95. -1 unit 63m 56s hadoop-yarn-client in the patch failed with JDK v1.7.0_95. +1 asflicense 0m 21s Patch does not generate ASF License warnings. 311m 46s Reason Tests JDK v1.8.0_74 Failed junit tests hadoop.yarn.server.resourcemanager.TestClientRMTokens   hadoop.yarn.server.resourcemanager.TestAMAuthorization   hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation   hadoop.yarn.client.TestGetGroups JDK v1.8.0_74 Timed out junit tests org.apache.hadoop.yarn.client.cli.TestYarnCLI   org.apache.hadoop.yarn.client.api.impl.TestYarnClient   org.apache.hadoop.yarn.client.api.impl.TestAMRMClient   org.apache.hadoop.yarn.client.api.impl.TestNMClient JDK v1.7.0_95 Failed junit tests hadoop.yarn.server.resourcemanager.TestClientRMTokens   hadoop.yarn.server.resourcemanager.TestAMAuthorization   hadoop.yarn.client.TestGetGroups JDK v1.7.0_95 Timed out junit tests org.apache.hadoop.yarn.client.cli.TestYarnCLI   org.apache.hadoop.yarn.client.api.impl.TestYarnClient   org.apache.hadoop.yarn.client.api.impl.TestAMRMClient   org.apache.hadoop.yarn.client.api.impl.TestNMClient Subsystem Report/Notes Docker Image:yetus/hadoop:fbe3e86 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12794784/YARN-4820.003.patch JIRA Issue YARN-4820 Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux 8bff7762d0d1 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / e7ed05e Default Java 1.7.0_95 Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_74 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_95 findbugs v3.0.0 unit https://builds.apache.org/job/PreCommit-YARN-Build/10845/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.8.0_74.txt unit https://builds.apache.org/job/PreCommit-YARN-Build/10845/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.8.0_74.txt unit https://builds.apache.org/job/PreCommit-YARN-Build/10845/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.7.0_95.txt unit https://builds.apache.org/job/PreCommit-YARN-Build/10845/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.7.0_95.txt unit test logs https://builds.apache.org/job/PreCommit-YARN-Build/10845/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.8.0_74.txt https://builds.apache.org/job/PreCommit-YARN-Build/10845/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.8.0_74.txt https://builds.apache.org/job/PreCommit-YARN-Build/10845/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.7.0_95.txt https://builds.apache.org/job/PreCommit-YARN-Build/10845/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.7.0_95.txt JDK v1.7.0_95 Test Results https://builds.apache.org/job/PreCommit-YARN-Build/10845/testReport/ modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client U: hadoop-yarn-project/hadoop-yarn Console output https://builds.apache.org/job/PreCommit-YARN-Build/10845/console Powered by Apache Yetus 0.2.0 http://yetus.apache.org This message was automatically generated.
          Hide
          djp Junping Du added a comment -

          Also Steve Loughran, did you want to take another look?

          Show
          djp Junping Du added a comment - Also Steve Loughran , did you want to take another look?
          Hide
          djp Junping Du added a comment -

          Patch LGTM. +1 depends on Jenkins' report.

          Show
          djp Junping Du added a comment - Patch LGTM. +1 depends on Jenkins' report.
          Hide
          vvasudev Varun Vasudev added a comment -

          Thanks for catching that Junping Du. Uploaded a patch with the fix.

          Show
          vvasudev Varun Vasudev added a comment - Thanks for catching that Junping Du . Uploaded a patch with the fix.
          Hide
          djp Junping Du added a comment -

          Thanks Varun Vasudev for updating the patch!
          The patch looks good in overall, just one comment in handling null charset case:

          +      String reqEncoding = request.getCharacterEncoding();
          +      if (reqEncoding == null || reqEncoding.isEmpty()) {
          +        reqEncoding = "UTF-8";
          +      }
          

          From HTTP1.1 protocol: https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7.1, if no charset parameter is provided by request, we should treat it as "ISO-8859-1", all other charsets need to claim explicitly in request.
          Other looks good to me.

          Show
          djp Junping Du added a comment - Thanks Varun Vasudev for updating the patch! The patch looks good in overall, just one comment in handling null charset case: + String reqEncoding = request.getCharacterEncoding(); + if (reqEncoding == null || reqEncoding.isEmpty()) { + reqEncoding = "UTF-8" ; + } From HTTP1.1 protocol: https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7.1 , if no charset parameter is provided by request, we should treat it as "ISO-8859-1", all other charsets need to claim explicitly in request. Other looks good to me.
          Hide
          hadoopqa Hadoop QA added a comment -
          -1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 15s 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 12s Maven dependency ordering for branch
          +1 mvninstall 7m 3s trunk passed
          +1 compile 1m 57s trunk passed with JDK v1.8.0_74
          +1 compile 2m 10s trunk passed with JDK v1.7.0_95
          +1 checkstyle 0m 32s trunk passed
          +1 mvnsite 0m 57s trunk passed
          +1 mvneclipse 0m 28s trunk passed
          +1 findbugs 1m 38s trunk passed
          +1 javadoc 0m 35s trunk passed with JDK v1.8.0_74
          +1 javadoc 0m 42s trunk passed with JDK v1.7.0_95
          0 mvndep 0m 11s Maven dependency ordering for patch
          +1 mvninstall 0m 47s the patch passed
          +1 compile 1m 41s the patch passed with JDK v1.8.0_74
          +1 javac 1m 41s the patch passed
          +1 compile 2m 2s the patch passed with JDK v1.7.0_95
          +1 javac 2m 2s the patch passed
          +1 checkstyle 0m 31s the patch passed
          +1 mvnsite 0m 52s the patch passed
          +1 mvneclipse 0m 25s the patch passed
          +1 whitespace 0m 0s Patch has no whitespace issues.
          +1 findbugs 2m 0s the patch passed
          +1 javadoc 0m 32s the patch passed with JDK v1.8.0_74
          +1 javadoc 0m 40s the patch passed with JDK v1.7.0_95
          -1 unit 72m 7s hadoop-yarn-server-resourcemanager in the patch failed with JDK v1.8.0_74.
          -1 unit 64m 34s hadoop-yarn-client in the patch failed with JDK v1.8.0_74.
          -1 unit 73m 41s hadoop-yarn-server-resourcemanager in the patch failed with JDK v1.7.0_95.
          -1 unit 64m 44s hadoop-yarn-client in the patch failed with JDK v1.7.0_95.
          +1 asflicense 0m 21s Patch does not generate ASF License warnings.
          302m 49s



          Reason Tests
          JDK v1.8.0_74 Failed junit tests hadoop.yarn.server.resourcemanager.TestClientRMTokens
            hadoop.yarn.server.resourcemanager.metrics.TestSystemMetricsPublisher
            hadoop.yarn.server.resourcemanager.TestAMAuthorization
            hadoop.yarn.client.TestGetGroups
          JDK v1.8.0_74 Timed out junit tests org.apache.hadoop.yarn.client.cli.TestYarnCLI
            org.apache.hadoop.yarn.client.api.impl.TestYarnClient
            org.apache.hadoop.yarn.client.api.impl.TestAMRMClient
            org.apache.hadoop.yarn.client.api.impl.TestNMClient
          JDK v1.7.0_95 Failed junit tests hadoop.yarn.server.resourcemanager.TestClientRMTokens
            hadoop.yarn.server.resourcemanager.TestAMAuthorization
            hadoop.yarn.client.TestGetGroups
          JDK v1.7.0_95 Timed out junit tests org.apache.hadoop.yarn.client.cli.TestYarnCLI
            org.apache.hadoop.yarn.client.api.impl.TestYarnClient
            org.apache.hadoop.yarn.client.api.impl.TestAMRMClient
            org.apache.hadoop.yarn.client.api.impl.TestNMClient



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:0ca8df7
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12793981/YARN-4820.002.patch
          JIRA Issue YARN-4820
          Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
          uname Linux 21eced25132b 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
          Build tool maven
          Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
          git revision trunk / f84af8b
          Default Java 1.7.0_95
          Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_74 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_95
          findbugs v3.0.0
          unit https://builds.apache.org/job/PreCommit-YARN-Build/10805/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.8.0_74.txt
          unit https://builds.apache.org/job/PreCommit-YARN-Build/10805/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.8.0_74.txt
          unit https://builds.apache.org/job/PreCommit-YARN-Build/10805/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.7.0_95.txt
          unit https://builds.apache.org/job/PreCommit-YARN-Build/10805/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.7.0_95.txt
          unit test logs https://builds.apache.org/job/PreCommit-YARN-Build/10805/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.8.0_74.txt https://builds.apache.org/job/PreCommit-YARN-Build/10805/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.8.0_74.txt https://builds.apache.org/job/PreCommit-YARN-Build/10805/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.7.0_95.txt https://builds.apache.org/job/PreCommit-YARN-Build/10805/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.7.0_95.txt
          JDK v1.7.0_95 Test Results https://builds.apache.org/job/PreCommit-YARN-Build/10805/testReport/
          modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client U: hadoop-yarn-project/hadoop-yarn
          Console output https://builds.apache.org/job/PreCommit-YARN-Build/10805/console
          Powered by Apache Yetus 0.2.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 15s 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 12s Maven dependency ordering for branch +1 mvninstall 7m 3s trunk passed +1 compile 1m 57s trunk passed with JDK v1.8.0_74 +1 compile 2m 10s trunk passed with JDK v1.7.0_95 +1 checkstyle 0m 32s trunk passed +1 mvnsite 0m 57s trunk passed +1 mvneclipse 0m 28s trunk passed +1 findbugs 1m 38s trunk passed +1 javadoc 0m 35s trunk passed with JDK v1.8.0_74 +1 javadoc 0m 42s trunk passed with JDK v1.7.0_95 0 mvndep 0m 11s Maven dependency ordering for patch +1 mvninstall 0m 47s the patch passed +1 compile 1m 41s the patch passed with JDK v1.8.0_74 +1 javac 1m 41s the patch passed +1 compile 2m 2s the patch passed with JDK v1.7.0_95 +1 javac 2m 2s the patch passed +1 checkstyle 0m 31s the patch passed +1 mvnsite 0m 52s the patch passed +1 mvneclipse 0m 25s the patch passed +1 whitespace 0m 0s Patch has no whitespace issues. +1 findbugs 2m 0s the patch passed +1 javadoc 0m 32s the patch passed with JDK v1.8.0_74 +1 javadoc 0m 40s the patch passed with JDK v1.7.0_95 -1 unit 72m 7s hadoop-yarn-server-resourcemanager in the patch failed with JDK v1.8.0_74. -1 unit 64m 34s hadoop-yarn-client in the patch failed with JDK v1.8.0_74. -1 unit 73m 41s hadoop-yarn-server-resourcemanager in the patch failed with JDK v1.7.0_95. -1 unit 64m 44s hadoop-yarn-client in the patch failed with JDK v1.7.0_95. +1 asflicense 0m 21s Patch does not generate ASF License warnings. 302m 49s Reason Tests JDK v1.8.0_74 Failed junit tests hadoop.yarn.server.resourcemanager.TestClientRMTokens   hadoop.yarn.server.resourcemanager.metrics.TestSystemMetricsPublisher   hadoop.yarn.server.resourcemanager.TestAMAuthorization   hadoop.yarn.client.TestGetGroups JDK v1.8.0_74 Timed out junit tests org.apache.hadoop.yarn.client.cli.TestYarnCLI   org.apache.hadoop.yarn.client.api.impl.TestYarnClient   org.apache.hadoop.yarn.client.api.impl.TestAMRMClient   org.apache.hadoop.yarn.client.api.impl.TestNMClient JDK v1.7.0_95 Failed junit tests hadoop.yarn.server.resourcemanager.TestClientRMTokens   hadoop.yarn.server.resourcemanager.TestAMAuthorization   hadoop.yarn.client.TestGetGroups JDK v1.7.0_95 Timed out junit tests org.apache.hadoop.yarn.client.cli.TestYarnCLI   org.apache.hadoop.yarn.client.api.impl.TestYarnClient   org.apache.hadoop.yarn.client.api.impl.TestAMRMClient   org.apache.hadoop.yarn.client.api.impl.TestNMClient Subsystem Report/Notes Docker Image:yetus/hadoop:0ca8df7 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12793981/YARN-4820.002.patch JIRA Issue YARN-4820 Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux 21eced25132b 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / f84af8b Default Java 1.7.0_95 Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_74 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_95 findbugs v3.0.0 unit https://builds.apache.org/job/PreCommit-YARN-Build/10805/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.8.0_74.txt unit https://builds.apache.org/job/PreCommit-YARN-Build/10805/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.8.0_74.txt unit https://builds.apache.org/job/PreCommit-YARN-Build/10805/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.7.0_95.txt unit https://builds.apache.org/job/PreCommit-YARN-Build/10805/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.7.0_95.txt unit test logs https://builds.apache.org/job/PreCommit-YARN-Build/10805/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.8.0_74.txt https://builds.apache.org/job/PreCommit-YARN-Build/10805/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.8.0_74.txt https://builds.apache.org/job/PreCommit-YARN-Build/10805/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.7.0_95.txt https://builds.apache.org/job/PreCommit-YARN-Build/10805/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.7.0_95.txt JDK v1.7.0_95 Test Results https://builds.apache.org/job/PreCommit-YARN-Build/10805/testReport/ modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client U: hadoop-yarn-project/hadoop-yarn Console output https://builds.apache.org/job/PreCommit-YARN-Build/10805/console Powered by Apache Yetus 0.2.0 http://yetus.apache.org This message was automatically generated.
          Hide
          stevel@apache.org Steve Loughran added a comment -

          ok, I'm wrong, this is a 307, not a 302 ... ignore everything I was complaining about

          Show
          stevel@apache.org Steve Loughran added a comment - ok, I'm wrong, this is a 307, not a 302 ... ignore everything I was complaining about
          Hide
          vvasudev Varun Vasudev added a comment -

          I was just looking at the redirect logic and noting it was looking at 302's only.

          Steve Loughran - can you point me to where you found this logic? The logic in RMWebAppFilter.java is that if the node is a standby, it redirects all requests to the active.

          Show
          vvasudev Varun Vasudev added a comment - I was just looking at the redirect logic and noting it was looking at 302's only. Steve Loughran - can you point me to where you found this logic? The logic in RMWebAppFilter.java is that if the node is a standby, it redirects all requests to the active.
          Hide
          vvasudev Varun Vasudev added a comment -

          Uploaded a new patch to address the findbugs warnings.

          Show
          vvasudev Varun Vasudev added a comment - Uploaded a new patch to address the findbugs warnings.
          Hide
          djp Junping Du added a comment -

          Hi Steve Loughran, I think the redirect logic now is return 307 now:

          response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
          

          Do I miss something here?

          Show
          djp Junping Du added a comment - Hi Steve Loughran , I think the redirect logic now is return 307 now: response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT); Do I miss something here?
          Hide
          stevel@apache.org Steve Loughran added a comment -

          I was just looking at the redirect logic and noting it was looking at 302's only...if you are treating redirects specially, then 307s ought to be covered as well, as those are what PUT/POST/DELETE verbs should be issuing if they ever need to redirect

          Show
          stevel@apache.org Steve Loughran added a comment - I was just looking at the redirect logic and noting it was looking at 302's only...if you are treating redirects specially, then 307s ought to be covered as well, as those are what PUT/POST/DELETE verbs should be issuing if they ever need to redirect
          Hide
          hadoopqa Hadoop QA added a comment -
          -1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 12s 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 11s Maven dependency ordering for branch
          +1 mvninstall 6m 42s trunk passed
          +1 compile 1m 43s trunk passed with JDK v1.8.0_74
          +1 compile 2m 7s trunk passed with JDK v1.7.0_95
          +1 checkstyle 0m 32s trunk passed
          +1 mvnsite 0m 57s trunk passed
          +1 mvneclipse 0m 27s trunk passed
          +1 findbugs 1m 39s trunk passed
          +1 javadoc 0m 35s trunk passed with JDK v1.8.0_74
          +1 javadoc 0m 42s trunk passed with JDK v1.7.0_95
          0 mvndep 0m 10s Maven dependency ordering for patch
          +1 mvninstall 0m 47s the patch passed
          +1 compile 1m 40s the patch passed with JDK v1.8.0_74
          +1 javac 1m 40s the patch passed
          +1 compile 2m 5s the patch passed with JDK v1.7.0_95
          +1 javac 2m 5s the patch passed
          +1 checkstyle 0m 31s the patch passed
          +1 mvnsite 0m 53s the patch passed
          +1 mvneclipse 0m 24s the patch passed
          +1 whitespace 0m 0s Patch has no whitespace issues.
          -1 findbugs 1m 18s hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
          +1 javadoc 0m 30s the patch passed with JDK v1.8.0_74
          +1 javadoc 0m 40s the patch passed with JDK v1.7.0_95
          -1 unit 71m 28s hadoop-yarn-server-resourcemanager in the patch failed with JDK v1.8.0_74.
          -1 unit 64m 35s hadoop-yarn-client in the patch failed with JDK v1.8.0_74.
          -1 unit 73m 42s hadoop-yarn-server-resourcemanager in the patch failed with JDK v1.7.0_95.
          -1 unit 64m 45s hadoop-yarn-client in the patch failed with JDK v1.7.0_95.
          +1 asflicense 0m 21s Patch does not generate ASF License warnings.
          301m 31s



          Reason Tests
          FindBugs module:hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager
            HTTP parameter directly written to HTTP header output in org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebAppFilter.doFilter(HttpServletRequest, HttpServletResponse, FilterChain) At RMWebAppFilter.java:HTTP header output in org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebAppFilter.doFilter(HttpServletRequest, HttpServletResponse, FilterChain) At RMWebAppFilter.java:[line 130]
            HTTP parameter written to Servlet output in org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebAppFilter.doFilter(HttpServletRequest, HttpServletResponse, FilterChain) At RMWebAppFilter.java:output in org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebAppFilter.doFilter(HttpServletRequest, HttpServletResponse, FilterChain) At RMWebAppFilter.java:[line 129]
          JDK v1.8.0_74 Failed junit tests hadoop.yarn.server.resourcemanager.TestClientRMTokens
            hadoop.yarn.server.resourcemanager.TestAMAuthorization
            hadoop.yarn.client.TestGetGroups
          JDK v1.8.0_74 Timed out junit tests org.apache.hadoop.yarn.client.cli.TestYarnCLI
            org.apache.hadoop.yarn.client.api.impl.TestYarnClient
            org.apache.hadoop.yarn.client.api.impl.TestAMRMClient
            org.apache.hadoop.yarn.client.api.impl.TestNMClient
          JDK v1.7.0_95 Failed junit tests hadoop.yarn.server.resourcemanager.TestClientRMTokens
            hadoop.yarn.server.resourcemanager.TestAMAuthorization
            hadoop.yarn.client.TestGetGroups
          JDK v1.7.0_95 Timed out junit tests org.apache.hadoop.yarn.client.cli.TestYarnCLI
            org.apache.hadoop.yarn.client.api.impl.TestYarnClient
            org.apache.hadoop.yarn.client.api.impl.TestAMRMClient
            org.apache.hadoop.yarn.client.api.impl.TestNMClient



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:0ca8df7
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12793714/YARN-4820.001.patch
          JIRA Issue YARN-4820
          Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
          uname Linux b7320c94cdb6 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
          Build tool maven
          Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
          git revision trunk / 3ef5500
          Default Java 1.7.0_95
          Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_74 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_95
          findbugs v3.0.0
          findbugs https://builds.apache.org/job/PreCommit-YARN-Build/10796/artifact/patchprocess/new-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.html
          unit https://builds.apache.org/job/PreCommit-YARN-Build/10796/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.8.0_74.txt
          unit https://builds.apache.org/job/PreCommit-YARN-Build/10796/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.8.0_74.txt
          unit https://builds.apache.org/job/PreCommit-YARN-Build/10796/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.7.0_95.txt
          unit https://builds.apache.org/job/PreCommit-YARN-Build/10796/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.7.0_95.txt
          unit test logs https://builds.apache.org/job/PreCommit-YARN-Build/10796/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.8.0_74.txt https://builds.apache.org/job/PreCommit-YARN-Build/10796/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.8.0_74.txt https://builds.apache.org/job/PreCommit-YARN-Build/10796/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.7.0_95.txt https://builds.apache.org/job/PreCommit-YARN-Build/10796/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.7.0_95.txt
          JDK v1.7.0_95 Test Results https://builds.apache.org/job/PreCommit-YARN-Build/10796/testReport/
          modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client U: hadoop-yarn-project/hadoop-yarn
          Console output https://builds.apache.org/job/PreCommit-YARN-Build/10796/console
          Powered by Apache Yetus 0.2.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 12s 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 11s Maven dependency ordering for branch +1 mvninstall 6m 42s trunk passed +1 compile 1m 43s trunk passed with JDK v1.8.0_74 +1 compile 2m 7s trunk passed with JDK v1.7.0_95 +1 checkstyle 0m 32s trunk passed +1 mvnsite 0m 57s trunk passed +1 mvneclipse 0m 27s trunk passed +1 findbugs 1m 39s trunk passed +1 javadoc 0m 35s trunk passed with JDK v1.8.0_74 +1 javadoc 0m 42s trunk passed with JDK v1.7.0_95 0 mvndep 0m 10s Maven dependency ordering for patch +1 mvninstall 0m 47s the patch passed +1 compile 1m 40s the patch passed with JDK v1.8.0_74 +1 javac 1m 40s the patch passed +1 compile 2m 5s the patch passed with JDK v1.7.0_95 +1 javac 2m 5s the patch passed +1 checkstyle 0m 31s the patch passed +1 mvnsite 0m 53s the patch passed +1 mvneclipse 0m 24s the patch passed +1 whitespace 0m 0s Patch has no whitespace issues. -1 findbugs 1m 18s hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0) +1 javadoc 0m 30s the patch passed with JDK v1.8.0_74 +1 javadoc 0m 40s the patch passed with JDK v1.7.0_95 -1 unit 71m 28s hadoop-yarn-server-resourcemanager in the patch failed with JDK v1.8.0_74. -1 unit 64m 35s hadoop-yarn-client in the patch failed with JDK v1.8.0_74. -1 unit 73m 42s hadoop-yarn-server-resourcemanager in the patch failed with JDK v1.7.0_95. -1 unit 64m 45s hadoop-yarn-client in the patch failed with JDK v1.7.0_95. +1 asflicense 0m 21s Patch does not generate ASF License warnings. 301m 31s Reason Tests FindBugs module:hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager   HTTP parameter directly written to HTTP header output in org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebAppFilter.doFilter(HttpServletRequest, HttpServletResponse, FilterChain) At RMWebAppFilter.java:HTTP header output in org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebAppFilter.doFilter(HttpServletRequest, HttpServletResponse, FilterChain) At RMWebAppFilter.java: [line 130]   HTTP parameter written to Servlet output in org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebAppFilter.doFilter(HttpServletRequest, HttpServletResponse, FilterChain) At RMWebAppFilter.java:output in org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebAppFilter.doFilter(HttpServletRequest, HttpServletResponse, FilterChain) At RMWebAppFilter.java: [line 129] JDK v1.8.0_74 Failed junit tests hadoop.yarn.server.resourcemanager.TestClientRMTokens   hadoop.yarn.server.resourcemanager.TestAMAuthorization   hadoop.yarn.client.TestGetGroups JDK v1.8.0_74 Timed out junit tests org.apache.hadoop.yarn.client.cli.TestYarnCLI   org.apache.hadoop.yarn.client.api.impl.TestYarnClient   org.apache.hadoop.yarn.client.api.impl.TestAMRMClient   org.apache.hadoop.yarn.client.api.impl.TestNMClient JDK v1.7.0_95 Failed junit tests hadoop.yarn.server.resourcemanager.TestClientRMTokens   hadoop.yarn.server.resourcemanager.TestAMAuthorization   hadoop.yarn.client.TestGetGroups JDK v1.7.0_95 Timed out junit tests org.apache.hadoop.yarn.client.cli.TestYarnCLI   org.apache.hadoop.yarn.client.api.impl.TestYarnClient   org.apache.hadoop.yarn.client.api.impl.TestAMRMClient   org.apache.hadoop.yarn.client.api.impl.TestNMClient Subsystem Report/Notes Docker Image:yetus/hadoop:0ca8df7 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12793714/YARN-4820.001.patch JIRA Issue YARN-4820 Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux b7320c94cdb6 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 3ef5500 Default Java 1.7.0_95 Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_74 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_95 findbugs v3.0.0 findbugs https://builds.apache.org/job/PreCommit-YARN-Build/10796/artifact/patchprocess/new-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.html unit https://builds.apache.org/job/PreCommit-YARN-Build/10796/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.8.0_74.txt unit https://builds.apache.org/job/PreCommit-YARN-Build/10796/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.8.0_74.txt unit https://builds.apache.org/job/PreCommit-YARN-Build/10796/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.7.0_95.txt unit https://builds.apache.org/job/PreCommit-YARN-Build/10796/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.7.0_95.txt unit test logs https://builds.apache.org/job/PreCommit-YARN-Build/10796/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.8.0_74.txt https://builds.apache.org/job/PreCommit-YARN-Build/10796/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.8.0_74.txt https://builds.apache.org/job/PreCommit-YARN-Build/10796/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.7.0_95.txt https://builds.apache.org/job/PreCommit-YARN-Build/10796/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.7.0_95.txt JDK v1.7.0_95 Test Results https://builds.apache.org/job/PreCommit-YARN-Build/10796/testReport/ modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client U: hadoop-yarn-project/hadoop-yarn Console output https://builds.apache.org/job/PreCommit-YARN-Build/10796/console Powered by Apache Yetus 0.2.0 http://yetus.apache.org This message was automatically generated.
          Hide
          vvasudev Varun Vasudev added a comment -

          Steve Loughran - sorry I didn't understand the case you mentioned. You're talking about a scenario where the active RM web services redirect you to a standby RM?

          Show
          vvasudev Varun Vasudev added a comment - Steve Loughran - sorry I didn't understand the case you mentioned. You're talking about a scenario where the active RM web services redirect you to a standby RM?
          Hide
          stevel@apache.org Steve Loughran added a comment -

          What about 307 redirects? Even if they aren't generated in any RM REST API yet, they might ... this filter should be ready for them

          Show
          stevel@apache.org Steve Loughran added a comment - What about 307 redirects? Even if they aren't generated in any RM REST API yet, they might ... this filter should be ready for them
          Hide
          vvasudev Varun Vasudev added a comment -

          Uploaded a patch with the fix.

          Show
          vvasudev Varun Vasudev added a comment - Uploaded a patch with the fix.

            People

            • Assignee:
              vvasudev Varun Vasudev
              Reporter:
              vvasudev Varun Vasudev
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development