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

This commit is contained in:
Akira Ajisaka 2015-07-21 11:21:49 +09:00
parent d6d58606b8
commit 773c670943
2 changed files with 5 additions and 1 deletions

View File

@ -705,6 +705,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

@ -369,7 +369,8 @@ private static boolean isAuthenticationMethodEnabled(AuthenticationMethod method
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 */