[ https://issues.apache.org/jira/browse/HADOOP-16590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16988212#comment-16988212 ]
Nicholas Marion commented on HADOOP-16590: ------------------------------------------ Is there any insight onto what errors there were during build? I didn't have any. And for tests, I tried to find existing tests for this code path, but didn't find any. I however have tested this fix inside of our own build of hadoop for Apache Spark and it resolved the {{unable to login}} error. > IBM Java has deprecated OS login module classes and OS principal classes. > ------------------------------------------------------------------------- > > Key: HADOOP-16590 > URL: https://issues.apache.org/jira/browse/HADOOP-16590 > Project: Hadoop Common > Issue Type: Bug > Components: security > Reporter: Nicholas Marion > Priority: Major > > 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: > {code:java} > 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 > {code} > and replaced with > {code:java} > com.ibm.security.auth.module.JAASLoginModule{code} > IBM Java has deprecated the following OS Principal classes: > > {code:java} > com.ibm.security.auth.UsernamePrincipal > com.ibm.security.auth.NTUserPrincipal > com.ibm.security.auth.AIXPrincipal > com.ibm.security.auth.LinuxPrincipal > {code} > and replaced with > {code:java} > com.ibm.security.auth.UsernamePrincipal{code} > Older issue HADOOP-15765 has same issue. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org