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 "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/01/05 13:37: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=14264548#comment-14264548 ]
Hadoop QA commented on HADOOP-10774:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12653570/HADOOP-10774.patch
against trunk revision 21c6f01.
{color:green}+1 @author{color}. The patch does not contain any @author tags.
{color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files.
{color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings.
{color:green}+1 javadoc{color}. There were no new javadoc warning messages.
{color:green}+1 eclipse:eclipse{color}. The patch built with eclipse:eclipse.
{color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 2.0.3) warnings.
{color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings.
{color:green}+1 core tests{color}. 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.
> 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, 2.5.2
> 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)