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

Update KerberosTestUtils for hadoop-auth tests when using IBM Java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 3.0.0-alpha1
    • security
    • None
    • AIX
      RHEL (64 bit), Ubuntu (64bit), X86

    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.

      Attachments

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

        Issue Links

          Activity

            People

              sangameshs sangamesh
              sangameshs sangamesh
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: