Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12787

KMS SPNEGO sequence does not work with WEBHDFS

    Details

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

      Description

      This was a follow up of my comments for HADOOP-10698.

      It blocks a delegation token based user (MR) using WEBHDFS to access KMS server for encrypted files. This might work in many cases before as JDK 7 has been aggressively do SPENGO implicitly. However, this is not the case in JDK 8 as we have seen many failures when using WEBHDFS with KMS and HDFS encryption zone.

      1. HADOOP-12878.03.patch
        2 kB
        Xiaoyu Yao
      2. HADOOP-12878.02.patch
        5 kB
        Xiaoyu Yao
      3. HADOOP-12878.01.patch
        5 kB
        Xiaoyu Yao
      4. HADOOP-12878.00.patch
        5 kB
        Xiaoyu Yao

        Issue Links

          Activity

          Hide
          djp Junping Du added a comment -

          Sounds like we are making a wrong JIRA number in commit. Make a note here:

          commit 595342154470a4bc98b87c76d1f60ba352338ff5
          Author: Xiaoyu Yao <xyao@apache.org>
          Date:   Wed Feb 17 08:27:27 2016 -0800
          
              HADOOP-12878. KMS SPNEGO sequence does not work with WEBHDFS. Contributed by Xiaoyu Yao.
          
              (cherry picked from commit fd1befb6ba450e45b1fcb3fb28b0da6c48daf6b3)
          
          Show
          djp Junping Du added a comment - Sounds like we are making a wrong JIRA number in commit. Make a note here: commit 595342154470a4bc98b87c76d1f60ba352338ff5 Author: Xiaoyu Yao <xyao@apache.org> Date: Wed Feb 17 08:27:27 2016 -0800 HADOOP-12878. KMS SPNEGO sequence does not work with WEBHDFS. Contributed by Xiaoyu Yao. (cherry picked from commit fd1befb6ba450e45b1fcb3fb28b0da6c48daf6b3)
          Hide
          stevel@apache.org Steve Loughran added a comment -

          Note that there was a typo in the commit; for anyone looking for this patch in {{git log}, grep for HADOOP-12878.

          Show
          stevel@apache.org Steve Loughran added a comment - Note that there was a typo in the commit; for anyone looking for this patch in {{git log}, grep for HADOOP-12878 .
          Hide
          xyao Xiaoyu Yao added a comment -

          Thanks Jitendra Nath Pandey for the review. I've committed the patch to trunk, branch-2 and branch-2.8.

          Show
          xyao Xiaoyu Yao added a comment - Thanks Jitendra Nath Pandey for the review. I've committed the patch to trunk, branch-2 and branch-2.8.
          Hide
          hadoopqa Hadoop QA added a comment -
          -1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 13s Docker mode activated.
          +1 @author 0m 0s The patch does not contain any @author tags.
          -1 test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
          0 mvndep 0m 20s Maven dependency ordering for branch
          +1 mvninstall 6m 49s trunk passed
          +1 compile 1m 20s trunk passed with JDK v1.8.0_72
          +1 compile 1m 21s trunk passed with JDK v1.7.0_95
          +1 checkstyle 0m 27s trunk passed
          +1 mvnsite 1m 27s trunk passed
          +1 mvneclipse 0m 26s trunk passed
          +1 findbugs 3m 42s trunk passed
          +1 javadoc 1m 27s trunk passed with JDK v1.8.0_72
          +1 javadoc 2m 13s trunk passed with JDK v1.7.0_95
          0 mvndep 0m 9s Maven dependency ordering for patch
          +1 mvninstall 1m 18s the patch passed
          +1 compile 1m 19s the patch passed with JDK v1.8.0_72
          +1 javac 1m 19s the patch passed
          +1 compile 1m 20s the patch passed with JDK v1.7.0_95
          +1 javac 1m 20s the patch passed
          +1 checkstyle 0m 25s the patch passed
          +1 mvnsite 1m 22s the patch passed
          +1 mvneclipse 0m 22s the patch passed
          +1 whitespace 0m 0s Patch has no whitespace issues.
          +1 findbugs 4m 3s the patch passed
          +1 javadoc 1m 25s the patch passed with JDK v1.8.0_72
          +1 javadoc 2m 9s the patch passed with JDK v1.7.0_95
          +1 unit 0m 51s hadoop-hdfs-client in the patch passed with JDK v1.8.0_72.
          -1 unit 55m 3s hadoop-hdfs in the patch failed with JDK v1.8.0_72.
          +1 unit 0m 55s hadoop-hdfs-client in the patch passed with JDK v1.7.0_95.
          +1 unit 53m 14s hadoop-hdfs in the patch passed with JDK v1.7.0_95.
          +1 asflicense 0m 26s Patch does not generate ASF License warnings.
          146m 25s



          Reason Tests
          JDK v1.8.0_72 Failed junit tests hadoop.hdfs.TestCrcCorruption
            hadoop.tracing.TestTracing
            hadoop.hdfs.shortcircuit.TestShortCircuitCache



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:0ca8df7
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12788120/HADOOP-12878.02.patch
          JIRA Issue HADOOP-12787
          Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
          uname Linux 6ed7e9d315a5 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 / 4b0e59f
          Default Java 1.7.0_95
          Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_72 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_95
          findbugs v3.0.0
          unit https://builds.apache.org/job/PreCommit-HADOOP-Build/8634/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_72.txt
          unit test logs https://builds.apache.org/job/PreCommit-HADOOP-Build/8634/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_72.txt
          JDK v1.7.0_95 Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/8634/testReport/
          modules C: hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project
          Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/8634/console
          Powered by Apache Yetus 0.2.0-SNAPSHOT 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 13s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. -1 test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. 0 mvndep 0m 20s Maven dependency ordering for branch +1 mvninstall 6m 49s trunk passed +1 compile 1m 20s trunk passed with JDK v1.8.0_72 +1 compile 1m 21s trunk passed with JDK v1.7.0_95 +1 checkstyle 0m 27s trunk passed +1 mvnsite 1m 27s trunk passed +1 mvneclipse 0m 26s trunk passed +1 findbugs 3m 42s trunk passed +1 javadoc 1m 27s trunk passed with JDK v1.8.0_72 +1 javadoc 2m 13s trunk passed with JDK v1.7.0_95 0 mvndep 0m 9s Maven dependency ordering for patch +1 mvninstall 1m 18s the patch passed +1 compile 1m 19s the patch passed with JDK v1.8.0_72 +1 javac 1m 19s the patch passed +1 compile 1m 20s the patch passed with JDK v1.7.0_95 +1 javac 1m 20s the patch passed +1 checkstyle 0m 25s the patch passed +1 mvnsite 1m 22s the patch passed +1 mvneclipse 0m 22s the patch passed +1 whitespace 0m 0s Patch has no whitespace issues. +1 findbugs 4m 3s the patch passed +1 javadoc 1m 25s the patch passed with JDK v1.8.0_72 +1 javadoc 2m 9s the patch passed with JDK v1.7.0_95 +1 unit 0m 51s hadoop-hdfs-client in the patch passed with JDK v1.8.0_72. -1 unit 55m 3s hadoop-hdfs in the patch failed with JDK v1.8.0_72. +1 unit 0m 55s hadoop-hdfs-client in the patch passed with JDK v1.7.0_95. +1 unit 53m 14s hadoop-hdfs in the patch passed with JDK v1.7.0_95. +1 asflicense 0m 26s Patch does not generate ASF License warnings. 146m 25s Reason Tests JDK v1.8.0_72 Failed junit tests hadoop.hdfs.TestCrcCorruption   hadoop.tracing.TestTracing   hadoop.hdfs.shortcircuit.TestShortCircuitCache Subsystem Report/Notes Docker Image:yetus/hadoop:0ca8df7 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12788120/HADOOP-12878.02.patch JIRA Issue HADOOP-12787 Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux 6ed7e9d315a5 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 / 4b0e59f Default Java 1.7.0_95 Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_72 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_95 findbugs v3.0.0 unit https://builds.apache.org/job/PreCommit-HADOOP-Build/8634/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_72.txt unit test logs https://builds.apache.org/job/PreCommit-HADOOP-Build/8634/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_72.txt JDK v1.7.0_95 Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/8634/testReport/ modules C: hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/8634/console Powered by Apache Yetus 0.2.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
          Hide
          jnp Jitendra Nath Pandey added a comment -

          +1 for the latest patch. Thanks Xiaoyu Yao.

          Show
          jnp Jitendra Nath Pandey added a comment - +1 for the latest patch. Thanks Xiaoyu Yao .
          Hide
          xyao Xiaoyu Yao added a comment -

          Manual test result:

          1. Curl without the patch -> GSSException

          [ambari-qa@c6401 ~]$ curl --negotiate -i -L -u: -b ~/cookiejar.txt -c ~/cookiejar.txt http://192.168.64.101:50070/webhdfs/v1/z1/krb5.conf.4?op=OPEN
          HTTP/1.1 401 Authentication required
          Cache-Control: must-revalidate,no-cache,no-store
          Date: Tue, 16 Feb 2016 23:56:05 GMT
          Pragma: no-cache
          Date: Tue, 16 Feb 2016 23:56:05 GMT
          Pragma: no-cache
          Content-Type: text/html; charset=iso-8859-1
          WWW-Authenticate: Negotiate
          Set-Cookie: hadoop.auth=; Path=/; HttpOnly
          Content-Length: 1418
          Server: Jetty(6.1.26.hwx)
          
          HTTP/1.1 307 TEMPORARY_REDIRECT
          Cache-Control: no-cache
          Expires: Tue, 16 Feb 2016 23:56:05 GMT
          Date: Tue, 16 Feb 2016 23:56:05 GMT
          Pragma: no-cache
          Expires: Tue, 16 Feb 2016 23:56:05 GMT
          Date: Tue, 16 Feb 2016 23:56:05 GMT
          Pragma: no-cache
          Content-Type: application/octet-stream
          Set-Cookie: hadoop.auth="u=ambari-qa&p=ambari-qa-hdp64@EXAMPLE.COM&t=kerberos&e=1455702965318&s=OSu4iddJQVOdzeiKkmp/nwea7vQ="; Path=/; HttpOnly
          Location: http://c6401.ambari.apache.org:1022/webhdfs/v1/z1/krb5.conf.4?op=OPEN&delegation=JgAJYW1iYXJpLXFhCWFtYmFyaS1xYQCKAVLsgytPigFTEI-vT3YkFOalDq5KazNUQYxlZKw4NxpPJfaLEldFQkhERlMgZGVsZWdhdGlvbhMxOTIuMTY4LjY0LjEwMTo4MDIw&namenoderpcaddress=c6401.ambari.apache.org:8020&offset=0
          Content-Length: 0
          Server: Jetty(6.1.26.hwx)
          
          HTTP/1.1 403 Forbidden
          Content-Type: application/json; charset=utf-8
          Content-Length: 266
          Connection: close
          
          {"RemoteException":{"exception":"IOException","javaClassName":"java.io.IOException","message":"org.apache.hadoop.security.authentication.client.AuthenticationException: GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)"}}[ambari-qa@c6401 ~]
          

          2. Curl with the patch -> Pass

          [ambari-qa@c6401 ~]$ curl --negotiate -i -L -u: -b ~/cookiejar.txt -c ~/cookiejar.txt http://192.168.64.101:50070/webhdfs/v1/z2/hello.txt?op=OPEN
          HTTP/1.1 307 TEMPORARY_REDIRECT
          Cache-Control: no-cache
          Expires: Wed, 17 Feb 2016 00:03:18 GMT
          Date: Wed, 17 Feb 2016 00:03:18 GMT
          Pragma: no-cache
          Expires: Wed, 17 Feb 2016 00:03:18 GMT
          Date: Wed, 17 Feb 2016 00:03:18 GMT
          Pragma: no-cache
          Location: http://c6401.ambari.apache.org:1022/webhdfs/v1/z2/hello.txt?op=OPEN&delegation=JgAJYW1iYXJpLXFhCWFtYmFyaS1xYQCKAVLsicgdigFTEJZMHXcmFHHSXDlM1mY3gFNY5yuHrg5dnW9BEldFQkhERlMgZGVsZWdhdGlvbhMxOTIuMTY4LjY0LjEwMTo4MDIw&namenoderpcaddress=c6401.ambari.apache.org:8020&offset=0
          Content-Type: application/octet-stream
          Content-Length: 0
          Server: Jetty(6.1.26.hwx)
          
          HTTP/1.1 200 OK
          Access-Control-Allow-Methods: GET
          Access-Control-Allow-Origin: *
          Content-Type: application/octet-stream
          Connection: close
          Content-Length: 13
          
          Hello world!
          

          3. distcp/webhdfs without the patch -> GSSException

          Failed with "org.apache.hadoop.security.authentication.client.AuthenticationException: GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)"
          

          4. distcp/webhdfs with the patch -> Pass

          Succeeded without any retry on other datanodes.
          
          Show
          xyao Xiaoyu Yao added a comment - Manual test result: 1. Curl without the patch -> GSSException [ambari-qa@c6401 ~]$ curl --negotiate -i -L -u: -b ~/cookiejar.txt -c ~/cookiejar.txt http: //192.168.64.101:50070/webhdfs/v1/z1/krb5.conf.4?op=OPEN HTTP/1.1 401 Authentication required Cache-Control: must-revalidate,no-cache,no-store Date: Tue, 16 Feb 2016 23:56:05 GMT Pragma: no-cache Date: Tue, 16 Feb 2016 23:56:05 GMT Pragma: no-cache Content-Type: text/html; charset=iso-8859-1 WWW-Authenticate: Negotiate Set-Cookie: hadoop.auth=; Path=/; HttpOnly Content-Length: 1418 Server: Jetty(6.1.26.hwx) HTTP/1.1 307 TEMPORARY_REDIRECT Cache-Control: no-cache Expires: Tue, 16 Feb 2016 23:56:05 GMT Date: Tue, 16 Feb 2016 23:56:05 GMT Pragma: no-cache Expires: Tue, 16 Feb 2016 23:56:05 GMT Date: Tue, 16 Feb 2016 23:56:05 GMT Pragma: no-cache Content-Type: application/octet-stream Set-Cookie: hadoop.auth= "u=ambari-qa&p=ambari-qa-hdp64@EXAMPLE.COM&t=kerberos&e=1455702965318&s=OSu4iddJQVOdzeiKkmp/nwea7vQ=" ; Path=/; HttpOnly Location: http: //c6401.ambari.apache.org:1022/webhdfs/v1/z1/krb5.conf.4?op=OPEN&delegation=JgAJYW1iYXJpLXFhCWFtYmFyaS1xYQCKAVLsgytPigFTEI-vT3YkFOalDq5KazNUQYxlZKw4NxpPJfaLEldFQkhERlMgZGVsZWdhdGlvbhMxOTIuMTY4LjY0LjEwMTo4MDIw&namenoderpcaddress=c6401.ambari.apache.org:8020&offset=0 Content-Length: 0 Server: Jetty(6.1.26.hwx) HTTP/1.1 403 Forbidden Content-Type: application/json; charset=utf-8 Content-Length: 266 Connection: close { "RemoteException" :{ "exception" : "IOException" , "javaClassName" : "java.io.IOException" , "message" : "org.apache.hadoop.security.authentication.client.AuthenticationException: GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)" }}[ambari-qa@c6401 ~] 2. Curl with the patch -> Pass [ambari-qa@c6401 ~]$ curl --negotiate -i -L -u: -b ~/cookiejar.txt -c ~/cookiejar.txt http: //192.168.64.101:50070/webhdfs/v1/z2/hello.txt?op=OPEN HTTP/1.1 307 TEMPORARY_REDIRECT Cache-Control: no-cache Expires: Wed, 17 Feb 2016 00:03:18 GMT Date: Wed, 17 Feb 2016 00:03:18 GMT Pragma: no-cache Expires: Wed, 17 Feb 2016 00:03:18 GMT Date: Wed, 17 Feb 2016 00:03:18 GMT Pragma: no-cache Location: http: //c6401.ambari.apache.org:1022/webhdfs/v1/z2/hello.txt?op=OPEN&delegation=JgAJYW1iYXJpLXFhCWFtYmFyaS1xYQCKAVLsicgdigFTEJZMHXcmFHHSXDlM1mY3gFNY5yuHrg5dnW9BEldFQkhERlMgZGVsZWdhdGlvbhMxOTIuMTY4LjY0LjEwMTo4MDIw&namenoderpcaddress=c6401.ambari.apache.org:8020&offset=0 Content-Type: application/octet-stream Content-Length: 0 Server: Jetty(6.1.26.hwx) HTTP/1.1 200 OK Access-Control-Allow-Methods: GET Access-Control-Allow-Origin: * Content-Type: application/octet-stream Connection: close Content-Length: 13 Hello world! 3. distcp/webhdfs without the patch -> GSSException Failed with "org.apache.hadoop.security.authentication.client.AuthenticationException: GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)" 4. distcp/webhdfs with the patch -> Pass Succeeded without any retry on other datanodes.
          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 doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
          +1 mvninstall 7m 35s trunk passed
          +1 compile 8m 36s trunk passed with JDK v1.8.0_72
          +1 compile 7m 54s trunk passed with JDK v1.7.0_95
          +1 checkstyle 0m 22s trunk passed
          +1 mvnsite 1m 10s trunk passed
          +1 mvneclipse 0m 14s trunk passed
          +1 findbugs 1m 44s trunk passed
          +1 javadoc 1m 2s trunk passed with JDK v1.8.0_72
          +1 javadoc 1m 15s trunk passed with JDK v1.7.0_95
          +1 mvninstall 0m 45s the patch passed
          +1 compile 8m 1s the patch passed with JDK v1.8.0_72
          +1 javac 8m 1s the patch passed
          +1 compile 7m 24s the patch passed with JDK v1.7.0_95
          +1 javac 7m 24s the patch passed
          +1 checkstyle 0m 22s the patch passed
          +1 mvnsite 1m 5s the patch passed
          +1 mvneclipse 0m 14s the patch passed
          +1 whitespace 0m 0s Patch has no whitespace issues.
          +1 findbugs 2m 2s the patch passed
          +1 javadoc 1m 3s the patch passed with JDK v1.8.0_72
          +1 javadoc 1m 13s the patch passed with JDK v1.7.0_95
          -1 unit 8m 33s hadoop-common in the patch failed with JDK v1.8.0_72.
          +1 unit 8m 21s hadoop-common in the patch passed with JDK v1.7.0_95.
          +1 asflicense 0m 23s Patch does not generate ASF License warnings.
          70m 41s



          Reason Tests
          JDK v1.8.0_72 Failed junit tests hadoop.ha.TestZKFailoverController



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:0ca8df7
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12788131/HADOOP-12878.03.patch
          JIRA Issue HADOOP-12787
          Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
          uname Linux 5fa53785186b 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 / 4b0e59f
          Default Java 1.7.0_95
          Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_72 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_95
          findbugs v3.0.0
          unit https://builds.apache.org/job/PreCommit-HADOOP-Build/8636/artifact/patchprocess/patch-unit-hadoop-common-project_hadoop-common-jdk1.8.0_72.txt
          unit test logs https://builds.apache.org/job/PreCommit-HADOOP-Build/8636/artifact/patchprocess/patch-unit-hadoop-common-project_hadoop-common-jdk1.8.0_72.txt
          JDK v1.7.0_95 Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/8636/testReport/
          modules C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common
          Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/8636/console
          Powered by Apache Yetus 0.2.0-SNAPSHOT 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 doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 mvninstall 7m 35s trunk passed +1 compile 8m 36s trunk passed with JDK v1.8.0_72 +1 compile 7m 54s trunk passed with JDK v1.7.0_95 +1 checkstyle 0m 22s trunk passed +1 mvnsite 1m 10s trunk passed +1 mvneclipse 0m 14s trunk passed +1 findbugs 1m 44s trunk passed +1 javadoc 1m 2s trunk passed with JDK v1.8.0_72 +1 javadoc 1m 15s trunk passed with JDK v1.7.0_95 +1 mvninstall 0m 45s the patch passed +1 compile 8m 1s the patch passed with JDK v1.8.0_72 +1 javac 8m 1s the patch passed +1 compile 7m 24s the patch passed with JDK v1.7.0_95 +1 javac 7m 24s the patch passed +1 checkstyle 0m 22s the patch passed +1 mvnsite 1m 5s the patch passed +1 mvneclipse 0m 14s the patch passed +1 whitespace 0m 0s Patch has no whitespace issues. +1 findbugs 2m 2s the patch passed +1 javadoc 1m 3s the patch passed with JDK v1.8.0_72 +1 javadoc 1m 13s the patch passed with JDK v1.7.0_95 -1 unit 8m 33s hadoop-common in the patch failed with JDK v1.8.0_72. +1 unit 8m 21s hadoop-common in the patch passed with JDK v1.7.0_95. +1 asflicense 0m 23s Patch does not generate ASF License warnings. 70m 41s Reason Tests JDK v1.8.0_72 Failed junit tests hadoop.ha.TestZKFailoverController Subsystem Report/Notes Docker Image:yetus/hadoop:0ca8df7 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12788131/HADOOP-12878.03.patch JIRA Issue HADOOP-12787 Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux 5fa53785186b 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 / 4b0e59f Default Java 1.7.0_95 Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_72 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_95 findbugs v3.0.0 unit https://builds.apache.org/job/PreCommit-HADOOP-Build/8636/artifact/patchprocess/patch-unit-hadoop-common-project_hadoop-common-jdk1.8.0_72.txt unit test logs https://builds.apache.org/job/PreCommit-HADOOP-Build/8636/artifact/patchprocess/patch-unit-hadoop-common-project_hadoop-common-jdk1.8.0_72.txt JDK v1.7.0_95 Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/8636/testReport/ modules C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/8636/console Powered by Apache Yetus 0.2.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
          Hide
          xyao Xiaoyu Yao added a comment -

          Update a patch based on discussion with Jitendra Nath Pandey. In patch v03, KMSClientProvider (part of the client code) set the actual UGI to login UGI for token user.

          Show
          xyao Xiaoyu Yao added a comment - Update a patch based on discussion with Jitendra Nath Pandey . In patch v03, KMSClientProvider (part of the client code) set the actual UGI to login UGI for token user.
          Hide
          jnp Jitendra Nath Pandey added a comment -

          Xiaoyu Yao, unfortunately the patch seems to add a bug, the ugi in the dfsclient is being used in other places as well like DistributedFileSystem. We may need to re-write the patch preserving the current ugi in DFSClient.

          Show
          jnp Jitendra Nath Pandey added a comment - Xiaoyu Yao , unfortunately the patch seems to add a bug, the ugi in the dfsclient is being used in other places as well like DistributedFileSystem. We may need to re-write the patch preserving the current ugi in DFSClient.
          Hide
          xyao Xiaoyu Yao added a comment -

          Thanks Jitendra Nath Pandey for the review! Patch v02 removes the redundant exception handling code. I've manually test the patch with both curl and distcp that access Kerberos enabled encryption zone and verified it fix the original problem.

          Unit test is not added here as it relies on MiniKMS which currently does not support Kerberos. That's part of the reason why we did not see this for a long time even though we have unit tests that cover webhdfs, KMS, encryption zone but without Kerberos. I will open a separate ticket for supporting Kerberos in MiniKMS.

          Show
          xyao Xiaoyu Yao added a comment - Thanks Jitendra Nath Pandey for the review! Patch v02 removes the redundant exception handling code. I've manually test the patch with both curl and distcp that access Kerberos enabled encryption zone and verified it fix the original problem. Unit test is not added here as it relies on MiniKMS which currently does not support Kerberos. That's part of the reason why we did not see this for a long time even though we have unit tests that cover webhdfs, KMS, encryption zone but without Kerberos. I will open a separate ticket for supporting Kerberos in MiniKMS.
          Hide
          jnp Jitendra Nath Pandey added a comment -

          There seems like a redundant code, unless there is a specific reason to wrap the exception.

          +    } catch (IOException ex) {
          +      throw new IOException(ex);
          
          Show
          jnp Jitendra Nath Pandey added a comment - There seems like a redundant code, unless there is a specific reason to wrap the exception. + } catch (IOException ex) { + throw new IOException(ex);
          Hide
          hadoopqa Hadoop QA added a comment -
          -1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 13s Docker mode activated.
          +1 @author 0m 0s The patch does not contain any @author tags.
          -1 test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
          0 mvndep 0m 18s Maven dependency ordering for branch
          +1 mvninstall 6m 39s trunk passed
          +1 compile 1m 16s trunk passed with JDK v1.8.0_72
          +1 compile 1m 21s trunk passed with JDK v1.7.0_95
          +1 checkstyle 0m 27s trunk passed
          +1 mvnsite 1m 24s trunk passed
          +1 mvneclipse 0m 27s trunk passed
          +1 findbugs 3m 32s trunk passed
          +1 javadoc 1m 26s trunk passed with JDK v1.8.0_72
          +1 javadoc 2m 11s trunk passed with JDK v1.7.0_95
          0 mvndep 0m 10s Maven dependency ordering for patch
          +1 mvninstall 1m 15s the patch passed
          +1 compile 1m 11s the patch passed with JDK v1.8.0_72
          +1 javac 1m 11s the patch passed
          +1 compile 1m 17s the patch passed with JDK v1.7.0_95
          +1 javac 1m 17s the patch passed
          -1 checkstyle 0m 24s hadoop-hdfs-project: patch generated 1 new + 68 unchanged - 0 fixed = 69 total (was 68)
          +1 mvnsite 1m 20s the patch passed
          +1 mvneclipse 0m 22s the patch passed
          +1 whitespace 0m 0s Patch has no whitespace issues.
          +1 findbugs 4m 0s the patch passed
          +1 javadoc 1m 17s the patch passed with JDK v1.8.0_72
          +1 javadoc 2m 3s the patch passed with JDK v1.7.0_95
          +1 unit 0m 48s hadoop-hdfs-client in the patch passed with JDK v1.8.0_72.
          -1 unit 52m 19s hadoop-hdfs in the patch failed with JDK v1.8.0_72.
          +1 unit 0m 55s hadoop-hdfs-client in the patch passed with JDK v1.7.0_95.
          -1 unit 49m 14s hadoop-hdfs in the patch failed with JDK v1.7.0_95.
          +1 asflicense 0m 22s Patch does not generate ASF License warnings.
          137m 25s



          Reason Tests
          JDK v1.8.0_72 Failed junit tests hadoop.fs.TestHdfsNativeCodeLoader
            hadoop.hdfs.server.datanode.TestBlockScanner
            hadoop.hdfs.TestFileAppend
          JDK v1.7.0_95 Failed junit tests hadoop.fs.TestHdfsNativeCodeLoader



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:0ca8df7
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12787614/HADOOP-12878.01.patch
          JIRA Issue HADOOP-12787
          Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
          uname Linux 752f45a0b802 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 / 9b959f3
          Default Java 1.7.0_95
          Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_72 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_95
          findbugs v3.0.0
          checkstyle https://builds.apache.org/job/PreCommit-HADOOP-Build/8605/artifact/patchprocess/diff-checkstyle-hadoop-hdfs-project.txt
          unit https://builds.apache.org/job/PreCommit-HADOOP-Build/8605/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_72.txt
          unit https://builds.apache.org/job/PreCommit-HADOOP-Build/8605/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_95.txt
          unit test logs https://builds.apache.org/job/PreCommit-HADOOP-Build/8605/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_72.txt https://builds.apache.org/job/PreCommit-HADOOP-Build/8605/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_95.txt
          JDK v1.7.0_95 Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/8605/testReport/
          modules C: hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project
          Max memory used 77MB
          Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/8605/console
          Powered by Apache Yetus 0.2.0-SNAPSHOT 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 13s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. -1 test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. 0 mvndep 0m 18s Maven dependency ordering for branch +1 mvninstall 6m 39s trunk passed +1 compile 1m 16s trunk passed with JDK v1.8.0_72 +1 compile 1m 21s trunk passed with JDK v1.7.0_95 +1 checkstyle 0m 27s trunk passed +1 mvnsite 1m 24s trunk passed +1 mvneclipse 0m 27s trunk passed +1 findbugs 3m 32s trunk passed +1 javadoc 1m 26s trunk passed with JDK v1.8.0_72 +1 javadoc 2m 11s trunk passed with JDK v1.7.0_95 0 mvndep 0m 10s Maven dependency ordering for patch +1 mvninstall 1m 15s the patch passed +1 compile 1m 11s the patch passed with JDK v1.8.0_72 +1 javac 1m 11s the patch passed +1 compile 1m 17s the patch passed with JDK v1.7.0_95 +1 javac 1m 17s the patch passed -1 checkstyle 0m 24s hadoop-hdfs-project: patch generated 1 new + 68 unchanged - 0 fixed = 69 total (was 68) +1 mvnsite 1m 20s the patch passed +1 mvneclipse 0m 22s the patch passed +1 whitespace 0m 0s Patch has no whitespace issues. +1 findbugs 4m 0s the patch passed +1 javadoc 1m 17s the patch passed with JDK v1.8.0_72 +1 javadoc 2m 3s the patch passed with JDK v1.7.0_95 +1 unit 0m 48s hadoop-hdfs-client in the patch passed with JDK v1.8.0_72. -1 unit 52m 19s hadoop-hdfs in the patch failed with JDK v1.8.0_72. +1 unit 0m 55s hadoop-hdfs-client in the patch passed with JDK v1.7.0_95. -1 unit 49m 14s hadoop-hdfs in the patch failed with JDK v1.7.0_95. +1 asflicense 0m 22s Patch does not generate ASF License warnings. 137m 25s Reason Tests JDK v1.8.0_72 Failed junit tests hadoop.fs.TestHdfsNativeCodeLoader   hadoop.hdfs.server.datanode.TestBlockScanner   hadoop.hdfs.TestFileAppend JDK v1.7.0_95 Failed junit tests hadoop.fs.TestHdfsNativeCodeLoader Subsystem Report/Notes Docker Image:yetus/hadoop:0ca8df7 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12787614/HADOOP-12878.01.patch JIRA Issue HADOOP-12787 Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux 752f45a0b802 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 / 9b959f3 Default Java 1.7.0_95 Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_72 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_95 findbugs v3.0.0 checkstyle https://builds.apache.org/job/PreCommit-HADOOP-Build/8605/artifact/patchprocess/diff-checkstyle-hadoop-hdfs-project.txt unit https://builds.apache.org/job/PreCommit-HADOOP-Build/8605/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_72.txt unit https://builds.apache.org/job/PreCommit-HADOOP-Build/8605/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_95.txt unit test logs https://builds.apache.org/job/PreCommit-HADOOP-Build/8605/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_72.txt https://builds.apache.org/job/PreCommit-HADOOP-Build/8605/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_95.txt JDK v1.7.0_95 Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/8605/testReport/ modules C: hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project Max memory used 77MB Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/8605/console Powered by Apache Yetus 0.2.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
          Hide
          xyao Xiaoyu Yao added a comment -

          Thanks Jitendra Nath Pandey for the review and the helpful suggestions. I've attached a new patch based on your feedback.

          Show
          xyao Xiaoyu Yao added a comment - Thanks Jitendra Nath Pandey for the review and the helpful suggestions. I've attached a new patch based on your feedback.
          Hide
          jnp Jitendra Nath Pandey added a comment -

          Xiaoyu Yao, thanks for the patch. I have one suggestion:
          public DFSClient(URI nameNodeUri, Configuration conf, boolean proxyUser)
          Instead of passing a boolean, please pass the ugi. The WebHdfsHandler should have the logic to construct the right UGI.
          This will make the constructor more generic.

          Show
          jnp Jitendra Nath Pandey added a comment - Xiaoyu Yao , thanks for the patch. I have one suggestion: public DFSClient(URI nameNodeUri, Configuration conf, boolean proxyUser) Instead of passing a boolean, please pass the ugi. The WebHdfsHandler should have the logic to construct the right UGI. This will make the constructor more generic.
          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 doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
          0 mvndep 0m 11s Maven dependency ordering for branch
          +1 mvninstall 8m 20s trunk passed
          +1 compile 1m 43s trunk passed with JDK v1.8.0_66
          +1 compile 1m 57s trunk passed with JDK v1.7.0_91
          +1 checkstyle 0m 34s trunk passed
          +1 mvnsite 1m 55s trunk passed
          +1 mvneclipse 0m 29s trunk passed
          +1 findbugs 4m 29s trunk passed
          +1 javadoc 2m 3s trunk passed with JDK v1.8.0_66
          +1 javadoc 2m 43s trunk passed with JDK v1.7.0_91
          0 mvndep 0m 11s Maven dependency ordering for patch
          +1 mvninstall 1m 29s the patch passed
          +1 compile 1m 39s the patch passed with JDK v1.8.0_66
          +1 javac 1m 39s the patch passed
          +1 compile 1m 27s the patch passed with JDK v1.7.0_91
          +1 javac 1m 27s the patch passed
          +1 checkstyle 0m 26s the patch passed
          +1 mvnsite 1m 28s the patch passed
          +1 mvneclipse 0m 22s the patch passed
          +1 whitespace 0m 0s Patch has no whitespace issues.
          +1 findbugs 4m 11s the patch passed
          +1 javadoc 1m 26s the patch passed with JDK v1.8.0_66
          +1 javadoc 2m 25s the patch passed with JDK v1.7.0_91
          +1 unit 0m 53s hadoop-hdfs-client in the patch passed with JDK v1.8.0_66.
          -1 unit 57m 1s hadoop-hdfs in the patch failed with JDK v1.8.0_66.
          +1 unit 0m 59s hadoop-hdfs-client in the patch passed with JDK v1.7.0_91.
          -1 unit 55m 11s hadoop-hdfs in the patch failed with JDK v1.7.0_91.
          +1 asflicense 0m 22s Patch does not generate ASF License warnings.
          155m 32s



          Reason Tests
          JDK v1.8.0_66 Failed junit tests hadoop.hdfs.server.datanode.TestBlockScanner
            hadoop.fs.TestHdfsNativeCodeLoader
          JDK v1.7.0_91 Failed junit tests hadoop.fs.TestHdfsNativeCodeLoader



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:0ca8df7
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12787486/HADOOP-12878.00.patch
          JIRA Issue HADOOP-12787
          Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
          uname Linux dd12976f272c 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 / fa00d3e
          Default Java 1.7.0_91
          Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_66 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_91
          findbugs v3.0.0
          unit https://builds.apache.org/job/PreCommit-HADOOP-Build/8601/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt
          unit https://builds.apache.org/job/PreCommit-HADOOP-Build/8601/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_91.txt
          unit test logs https://builds.apache.org/job/PreCommit-HADOOP-Build/8601/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt https://builds.apache.org/job/PreCommit-HADOOP-Build/8601/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_91.txt
          JDK v1.7.0_91 Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/8601/testReport/
          modules C: hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project
          Max memory used 77MB
          Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/8601/console
          Powered by Apache Yetus 0.2.0-SNAPSHOT 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 doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. 0 mvndep 0m 11s Maven dependency ordering for branch +1 mvninstall 8m 20s trunk passed +1 compile 1m 43s trunk passed with JDK v1.8.0_66 +1 compile 1m 57s trunk passed with JDK v1.7.0_91 +1 checkstyle 0m 34s trunk passed +1 mvnsite 1m 55s trunk passed +1 mvneclipse 0m 29s trunk passed +1 findbugs 4m 29s trunk passed +1 javadoc 2m 3s trunk passed with JDK v1.8.0_66 +1 javadoc 2m 43s trunk passed with JDK v1.7.0_91 0 mvndep 0m 11s Maven dependency ordering for patch +1 mvninstall 1m 29s the patch passed +1 compile 1m 39s the patch passed with JDK v1.8.0_66 +1 javac 1m 39s the patch passed +1 compile 1m 27s the patch passed with JDK v1.7.0_91 +1 javac 1m 27s the patch passed +1 checkstyle 0m 26s the patch passed +1 mvnsite 1m 28s the patch passed +1 mvneclipse 0m 22s the patch passed +1 whitespace 0m 0s Patch has no whitespace issues. +1 findbugs 4m 11s the patch passed +1 javadoc 1m 26s the patch passed with JDK v1.8.0_66 +1 javadoc 2m 25s the patch passed with JDK v1.7.0_91 +1 unit 0m 53s hadoop-hdfs-client in the patch passed with JDK v1.8.0_66. -1 unit 57m 1s hadoop-hdfs in the patch failed with JDK v1.8.0_66. +1 unit 0m 59s hadoop-hdfs-client in the patch passed with JDK v1.7.0_91. -1 unit 55m 11s hadoop-hdfs in the patch failed with JDK v1.7.0_91. +1 asflicense 0m 22s Patch does not generate ASF License warnings. 155m 32s Reason Tests JDK v1.8.0_66 Failed junit tests hadoop.hdfs.server.datanode.TestBlockScanner   hadoop.fs.TestHdfsNativeCodeLoader JDK v1.7.0_91 Failed junit tests hadoop.fs.TestHdfsNativeCodeLoader Subsystem Report/Notes Docker Image:yetus/hadoop:0ca8df7 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12787486/HADOOP-12878.00.patch JIRA Issue HADOOP-12787 Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux dd12976f272c 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 / fa00d3e Default Java 1.7.0_91 Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_66 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_91 findbugs v3.0.0 unit https://builds.apache.org/job/PreCommit-HADOOP-Build/8601/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt unit https://builds.apache.org/job/PreCommit-HADOOP-Build/8601/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_91.txt unit test logs https://builds.apache.org/job/PreCommit-HADOOP-Build/8601/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt https://builds.apache.org/job/PreCommit-HADOOP-Build/8601/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_91.txt JDK v1.7.0_91 Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/8601/testReport/ modules C: hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project Max memory used 77MB Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/8601/console Powered by Apache Yetus 0.2.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
          Hide
          xyao Xiaoyu Yao added a comment -

          Attach an initial patch that creates proxy user for webhdfs dfsclient to get KMS client provider. I've tested this manually with curl/webhdfs and will add unit test later.

          Show
          xyao Xiaoyu Yao added a comment - Attach an initial patch that creates proxy user for webhdfs dfsclient to get KMS client provider. I've tested this manually with curl/webhdfs and will add unit test later.

            People

            • Assignee:
              xyao Xiaoyu Yao
              Reporter:
              xyao Xiaoyu Yao
            • Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development