You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "sangamesh (JIRA)" <ji...@apache.org> on 2014/10/06 09:33:34 UTC

[jira] [Commented] (HADOOP-10774) Update KerberosTestUtils for hadoop-auth tests when using IBM Java

    [ https://issues.apache.org/jira/browse/HADOOP-10774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14160065#comment-14160065 ] 

sangamesh commented on HADOOP-10774:
------------------------------------

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

> 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.5.0, 2.4.1
>         Environment: AIX
> RHEL (64 bit), Ubuntu (64bit)
>            Reporter: sangamesh
>         Attachments: HADOOP-10774.patch
>
>
> 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/localhost@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.3.4#6332)