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 "Gao Zhong Liang (JIRA)" <ji...@apache.org> on 2014/11/05 17:40:34 UTC
[jira] [Commented] (HADOOP-11273) TestMiniKdc failure: login
options not compatible with IBM JDK
[ https://issues.apache.org/jira/browse/HADOOP-11273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14198615#comment-14198615 ]
Gao Zhong Liang commented on HADOOP-11273:
------------------------------------------
The first version of the patch is attached. It updates some options specific to IBM JDK.
> TestMiniKdc failure: login options not compatible with IBM JDK
> --------------------------------------------------------------
>
> Key: HADOOP-11273
> URL: https://issues.apache.org/jira/browse/HADOOP-11273
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Reporter: Gao Zhong Liang
> Assignee: Gao Zhong Liang
> Attachments: HADOOP-11273.patch
>
>
> When running test with IBM JDK, the testcase in /hadoop-common-project/hadoop-minikdc/src/test/java/org/apache/hadoop/minikdc/TestMiniKdc failed due to incompatible login options for IBM Java.
> The login options needs to update to IBM Java options.
> Testcases failed with the following stack:
> javax.security.auth.login.LoginException: Bad JAAS configuration: unrecognized option: isInitiator
> at com.ibm.security.jgss.i18n.I18NException.throwLoginException(I18NException.java:165)
> at com.ibm.security.auth.module.Krb5LoginModule.checkForUnsupportedOptions(Krb5LoginModule.java:1406)
> at com.ibm.security.auth.module.Krb5LoginModule.parseJAASConfigOptions(Krb5LoginModule.java:954)
> at com.ibm.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:260)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:94)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
> at java.lang.reflect.Method.invoke(Method.java:619)
> at javax.security.auth.login.LoginContext.invoke(LoginContext.java:796)
> at javax.security.auth.login.LoginContext.access$000(LoginContext.java:211)
> at javax.security.auth.login.LoginContext$5.run(LoginContext.java:733)
> at javax.security.auth.login.LoginContext$5.run(LoginContext.java:731)
> at java.security.AccessController.doPrivileged(AccessController.java:366)
> at javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:730)
> at javax.security.auth.login.LoginContext.login(LoginContext.java:600)
> at org.apache.hadoop.minikdc.TestMiniKdc.testKerberosLogin(TestMiniKdc.java:137)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)