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

Update KerberosTestUtils for hadoop-auth tests when using IBM Java

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: security
    • Labels:
      None
    • Environment:

      AIX
      RHEL (64 bit), Ubuntu (64bit), X86

    • Target Version/s:

      Description

      There are two issues if IBM Java is used while testing hadoop-auth tests.

      Looks like there are lot of changes haven been done to properly handle the kerbserose authentication using the JIRA defect: HADOOP-9446 for IBM JAVA.
      But their are still some failures can been seen in "Apache Hadoop Common" tests in case of IBM JAVA.
      Available patch for HADOOP-10774 will solve the authentication issues plus the path issues.

      Two issue issue related to IBM java are.

      1) Bad JAAS configuration: unrecognized option: isInitiator
      2) Cannot retrieve key from keytab HTTP/localhost@EXAMPLE.COM

      #1 Is caused as isInitiator isn't defined when we use IBM JAVA.
      #2 IS caused as, For IBM_JAVA keytab file must be a absolute path with file:// as the prefix for the useKeytab option.
      But the file path is relative. This change will work with both openjdk & IBM_JAVA.

      Attached patch will resolve all failures happening if we use IBM Java.

      1. HADOOP-10774.patch
        3 kB
        sangamesh
      2. HADOOP-10774-v2.patch
        3 kB
        sangamesh

        Issue Links

          Activity

          Hide
          sangameshs sangamesh added a comment -

          Any update on this defect ? It effects current release 2.5 too.

          Show
          sangameshs sangamesh added a comment - Any update on this defect ? It effects current release 2.5 too.
          Hide
          hadoopqa Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12653570/HADOOP-10774.patch
          against trunk revision 21c6f01.

          +1 @author. The patch does not contain any @author tags.

          +1 tests included. The patch appears to include 1 new or modified test files.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 javadoc. There were no new javadoc warning messages.

          +1 eclipse:eclipse. The patch built with eclipse:eclipse.

          +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          +1 core tests. The patch passed unit tests in hadoop-common-project/hadoop-auth.

          Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/5362//testReport/
          Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/5362//console

          This message is automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12653570/HADOOP-10774.patch against trunk revision 21c6f01. +1 @author . The patch does not contain any @author tags. +1 tests included . The patch appears to include 1 new or modified test files. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 javadoc . There were no new javadoc warning messages. +1 eclipse:eclipse . The patch built with eclipse:eclipse. +1 findbugs . The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. +1 core tests . The patch passed unit tests in hadoop-common-project/hadoop-auth. Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/5362//testReport/ Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/5362//console This message is automatically generated.
          Hide
          sangameshs sangamesh added a comment -

          Any update on the patch ? Is it fine to make it to the latest snapshot ?

          Show
          sangameshs sangamesh added a comment - Any update on the patch ? Is it fine to make it to the latest snapshot ?
          Hide
          hadoopqa Hadoop QA added a comment -

          +1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12699440/HADOOP-10774-v2.patch
          against trunk revision b6fc1f3.

          +1 @author. The patch does not contain any @author tags.

          +1 tests included. The patch appears to include 1 new or modified test files.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 javadoc. There were no new javadoc warning messages.

          +1 eclipse:eclipse. The patch built with eclipse:eclipse.

          +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          +1 core tests. The patch passed unit tests in hadoop-common-project/hadoop-auth.

          Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/5734//testReport/
          Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/5734//console

          This message is automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - +1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12699440/HADOOP-10774-v2.patch against trunk revision b6fc1f3. +1 @author . The patch does not contain any @author tags. +1 tests included . The patch appears to include 1 new or modified test files. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 javadoc . There were no new javadoc warning messages. +1 eclipse:eclipse . The patch built with eclipse:eclipse. +1 findbugs . The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. +1 core tests . The patch passed unit tests in hadoop-common-project/hadoop-auth. Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/5734//testReport/ Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/5734//console This message is automatically generated.
          Hide
          aw Allen Wittenauer added a comment -

          This seems to map with the changes made in HADOOP-9446. So I'm +1. Will commit to trunk.

          Thanks!

          Show
          aw Allen Wittenauer added a comment - This seems to map with the changes made in HADOOP-9446 . So I'm +1. Will commit to trunk. Thanks!
          Hide
          aw Allen Wittenauer added a comment -

          +1 committed to trunk.

          thanks!

          Show
          aw Allen Wittenauer added a comment - +1 committed to trunk. thanks!
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-trunk-Commit #7228 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7228/)
          HADOOP-10774. Update KerberosTestUtils for hadoop-auth tests when using IBM Java (sangamesh via aw) (aw: rev b01d3433aefb68a0f66a48ac9cae7d32463ab95e)

          • hadoop-common-project/hadoop-common/CHANGES.txt
          • hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/KerberosTestUtils.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #7228 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7228/ ) HADOOP-10774 . Update KerberosTestUtils for hadoop-auth tests when using IBM Java (sangamesh via aw) (aw: rev b01d3433aefb68a0f66a48ac9cae7d32463ab95e) hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/KerberosTestUtils.java
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #119 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/119/)
          HADOOP-10774. Update KerberosTestUtils for hadoop-auth tests when using IBM Java (sangamesh via aw) (aw: rev b01d3433aefb68a0f66a48ac9cae7d32463ab95e)

          • hadoop-common-project/hadoop-common/CHANGES.txt
          • hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/KerberosTestUtils.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #119 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/119/ ) HADOOP-10774 . Update KerberosTestUtils for hadoop-auth tests when using IBM Java (sangamesh via aw) (aw: rev b01d3433aefb68a0f66a48ac9cae7d32463ab95e) hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/KerberosTestUtils.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Yarn-trunk #853 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/853/)
          HADOOP-10774. Update KerberosTestUtils for hadoop-auth tests when using IBM Java (sangamesh via aw) (aw: rev b01d3433aefb68a0f66a48ac9cae7d32463ab95e)

          • hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/KerberosTestUtils.java
          • hadoop-common-project/hadoop-common/CHANGES.txt
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk #853 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/853/ ) HADOOP-10774 . Update KerberosTestUtils for hadoop-auth tests when using IBM Java (sangamesh via aw) (aw: rev b01d3433aefb68a0f66a48ac9cae7d32463ab95e) hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/KerberosTestUtils.java hadoop-common-project/hadoop-common/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Hdfs-trunk #2051 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2051/)
          HADOOP-10774. Update KerberosTestUtils for hadoop-auth tests when using IBM Java (sangamesh via aw) (aw: rev b01d3433aefb68a0f66a48ac9cae7d32463ab95e)

          • hadoop-common-project/hadoop-common/CHANGES.txt
          • hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/KerberosTestUtils.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Hdfs-trunk #2051 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2051/ ) HADOOP-10774 . Update KerberosTestUtils for hadoop-auth tests when using IBM Java (sangamesh via aw) (aw: rev b01d3433aefb68a0f66a48ac9cae7d32463ab95e) hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/KerberosTestUtils.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Hdfs-trunk-Java8 #110 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/110/)
          HADOOP-10774. Update KerberosTestUtils for hadoop-auth tests when using IBM Java (sangamesh via aw) (aw: rev b01d3433aefb68a0f66a48ac9cae7d32463ab95e)

          • hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/KerberosTestUtils.java
          • hadoop-common-project/hadoop-common/CHANGES.txt
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Hdfs-trunk-Java8 #110 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/110/ ) HADOOP-10774 . Update KerberosTestUtils for hadoop-auth tests when using IBM Java (sangamesh via aw) (aw: rev b01d3433aefb68a0f66a48ac9cae7d32463ab95e) hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/KerberosTestUtils.java hadoop-common-project/hadoop-common/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #119 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/119/)
          HADOOP-10774. Update KerberosTestUtils for hadoop-auth tests when using IBM Java (sangamesh via aw) (aw: rev b01d3433aefb68a0f66a48ac9cae7d32463ab95e)

          • hadoop-common-project/hadoop-common/CHANGES.txt
          • hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/KerberosTestUtils.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #119 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/119/ ) HADOOP-10774 . Update KerberosTestUtils for hadoop-auth tests when using IBM Java (sangamesh via aw) (aw: rev b01d3433aefb68a0f66a48ac9cae7d32463ab95e) hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/KerberosTestUtils.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Mapreduce-trunk #2069 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2069/)
          HADOOP-10774. Update KerberosTestUtils for hadoop-auth tests when using IBM Java (sangamesh via aw) (aw: rev b01d3433aefb68a0f66a48ac9cae7d32463ab95e)

          • hadoop-common-project/hadoop-common/CHANGES.txt
          • hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/KerberosTestUtils.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Mapreduce-trunk #2069 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2069/ ) HADOOP-10774 . Update KerberosTestUtils for hadoop-auth tests when using IBM Java (sangamesh via aw) (aw: rev b01d3433aefb68a0f66a48ac9cae7d32463ab95e) hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/KerberosTestUtils.java

            People

            • Assignee:
              sangameshs sangamesh
              Reporter:
              sangameshs sangamesh
            • Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development