sangamesh created HADOOP-10774: ---------------------------------- Summary: Update KerberosTestUtils for hadoop-auth tests when using IBM Java Key: HADOOP-10774 URL: https://issues.apache.org/jira/browse/HADOOP-10774 Project: Hadoop Common Issue Type: Bug Components: security Affects Versions: 2.4.1 Reporter: sangamesh
There are two issues if IBM Java is used to while testing hadoop-auth tests. 1) Bad JAAS configuration: unrecognized option: isInitiator 2) Cannot retrieve key from keytab HTTP/localh...@example.com #1 Is caused as isInitiator isn't defined when we use IBM JAVA. There is already a defect in jira https://issues.apache.org/jira/browse/SENTRY-169 But we need to apply it to KerberosTestUtils.java for some tests in hadoop-auth to pass. #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. -- This message was sent by Atlassian JIRA (v6.2#6252)