HADOOP-12081. Fix UserGroupInformation.java to support 64-bit zLinux. (aajisaka)

(cherry picked from commit 773c670943)
This commit is contained in:
Akira Ajisaka 2015-07-21 11:21:49 +09:00
parent cadd02ad1d
commit d591f2af5d
2 changed files with 5 additions and 1 deletions

View File

@ -202,6 +202,9 @@ Release 2.8.0 - UNRELEASED
HADOOP-11893. Mark org.apache.hadoop.security.token.Token as
@InterfaceAudience.Public. (Brahma Reddy Battula via stevel)
HADOOP-12081. Fix UserGroupInformation.java to support 64-bit zLinux.
(aajisaka)
OPTIMIZATIONS
HADOOP-11785. Reduce the number of listStatus operation in distcp

View File

@ -357,7 +357,8 @@ public class UserGroupInformation {
private static final boolean windows =
System.getProperty("os.name").startsWith("Windows");
private static final boolean is64Bit =
System.getProperty("os.arch").contains("64");
System.getProperty("os.arch").contains("64") ||
System.getProperty("os.arch").contains("s390x");
private static final boolean aix = System.getProperty("os.name").equals("AIX");
/* Return the OS login module class name */