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 "Devendra Vishwakarma (JIRA)" <ji...@apache.org> on 2016/02/09 09:46:18 UTC

[jira] [Created] (HADOOP-12783) TestWebDelegationToken failure: login options not compatible with IBM JDK

Devendra Vishwakarma created HADOOP-12783:
---------------------------------------------

             Summary: TestWebDelegationToken failure: login options not compatible with IBM JDK
                 Key: HADOOP-12783
                 URL: https://issues.apache.org/jira/browse/HADOOP-12783
             Project: Hadoop Common
          Issue Type: Bug
          Components: test
    Affects Versions: 2.7.1
         Environment: IBM JDK 1.8 + s390x architecture
            Reporter: Devendra Vishwakarma
            Assignee: Devendra Vishwakarma
             Fix For: 2.7.1


When running test with IBM JDK, the testcase in /hadoop-common-/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/token/delegation/web/TestWebDelegationToken failed due to incompatible login options for IBM Java.
The login options need to be updated considering the IBM Java.

Testcases which failed are - 
1. org.apache.hadoop.security.token.delegation.web.TestWebDelegationToken.testKerberosDelegationTokenAuthenticator
2. org.apache.hadoop.security.token.delegation.web.TestWebDelegationToken.testKerberosDelegationTokenAuthenticatorWithDoAs

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:27)
at com.ibm.security.auth.module.Krb5LoginModule.d(Krb5LoginModule.java:541)
at com.ibm.security.auth.module.Krb5LoginModule.a(Krb5LoginModule.java:169)
at com.ibm.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:231)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:507)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:788)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:196)
at javax.security.auth.login.LoginContext$5.run(LoginContext.java:721)
at javax.security.auth.login.LoginContext$5.run(LoginContext.java:719)
at java.security.AccessController.doPrivileged(AccessController.java:595)
at javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:719)
at javax.security.auth.login.LoginContext.login(LoginContext.java:593)
at org.apache.hadoop.security.token.delegation.web.TestWebDelegationToken.doAsKerberosUser(TestWebDelegationToken.java:710)
at org.apache.hadoop.security.token.delegation.web.TestWebDelegationToken.testKerberosDelegationTokenAuthenticator(TestWebDelegationToken.java:777)
at org.apache.hadoop.security.token.delegation.web.TestWebDelegationToken.testKerberosDelegationTokenAuthenticator(TestWebDelegationToken.java:729)




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)