[
https://issues.apache.org/jira/browse/HADOOP-11273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Haohui Mai updated HADOOP-11273:
--------------------------------
Resolution: Fixed
Fix Version/s: 2.7.0
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
I've committed the patch to trunk and branch-2. Thanks [~lianggz] for the
contribution.
> 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
> Fix For: 2.4.1, 2.7.0
>
> Attachments: HADOOP-11273-branch-2.6.0.patch, 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)