Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11273

TestMiniKdc failure: login options not compatible with IBM JDK

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4.1, 2.7.0
    • test
    • None
    • Reviewed

    Description

      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)

      Attachments

        1. HADOOP-11273-branch-2.6.0.patch
          2 kB
          Gao Zhong Liang
        2. HADOOP-11273.patch
          2 kB
          Gao Zhong Liang

        Activity

          People

            lianggz Gao Zhong Liang
            lianggz Gao Zhong Liang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: