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

IBM Java has deprecated OS login module classes and OS principal classes.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: security
    • Labels:
      None
    • Target Version/s:

      Description

      When building applications that rely on hadoop-commons and using IBM Java, errors such as `Exception in thread "main" java.io.IOException: failure to login` and `Unable to find JAAS classes:com.ibm.security.auth.LinuxPrincipal` can be seen.

      IBM Java has deprecated the following OS Login Module classes:

      com.ibm.security.auth.module.Win64LoginModule
      com.ibm.security.auth.module.NTLoginModule
      com.ibm.security.auth.module.AIX64LoginModule
      com.ibm.security.auth.module.AIXLoginModule
      com.ibm.security.auth.module.LinuxLoginModule
      

      and replaced with

      com.ibm.security.auth.module.JAASLoginModule

      IBM Java has deprecated the following OS Principal classes:

       

      com.ibm.security.auth.UsernamePrincipal
      com.ibm.security.auth.NTUserPrincipal
      com.ibm.security.auth.AIXPrincipal
      
      com.ibm.security.auth.LinuxPrincipal
      

      and replaced with

      com.ibm.security.auth.UsernamePrincipal

      Older issue HADOOP-15765 has same issue.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nmarion Nicholas Marion
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: