[ 
https://issues.apache.org/jira/browse/HADOOP-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14581295#comment-14581295
 ] 

Gabor Liptak commented on HADOOP-12081:
---------------------------------------

https://github.com/apache/commons-lang/blob/master/src/main/java/org/apache/commons/lang3/SystemUtils.java
 has some of this recognition functionality, but missing 64bit and zOS 
functions.
I opened LANG-1145 and LANG-1146 to discuss.

> Support Hadoop on zLinux - fix JAAS authentication issue
> --------------------------------------------------------
>
>                 Key: HADOOP-12081
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12081
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.6.0
>         Environment: zLinux.
>            Reporter: Adam Roberts
>              Labels: zlinux
>
> Currently the 64 bit check in security/UserGroupInformation.java uses os.arch 
> and checks for "64". s390x is returned on IBM's z platform: s390x is 64 bit. 
> Without this change, if we try to use HDFS with Spark, we get a fatal error 
> (unable to login as we can't find a login class).
> This address fixes said issue by identifying s390x as a 64 bit platform and 
> thus allowing Spark to run on zLinux. A simple fix with very big implications!



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

Reply via email to