HADOOP-10746. TestSocketIOWithTimeout#testSocketIOWithTimeout fails on Power PC. (Contributed by Jinghui Wang)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1605140 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
db4d277117
commit
b7e3c2eecd
@ -598,6 +598,9 @@ Release 2.5.0 - UNRELEASED
|
|||||||
NativeAzureFileSystem#NativeAzureFsInputStream#close().
|
NativeAzureFileSystem#NativeAzureFsInputStream#close().
|
||||||
(Chen He via cnauroth)
|
(Chen He via cnauroth)
|
||||||
|
|
||||||
|
HADOOP-10746. TestSocketIOWithTimeout#testSocketIOWithTimeout fails on
|
||||||
|
Power PC. (Jinghui Wang via Arpit Agarwal)
|
||||||
|
|
||||||
BREAKDOWN OF HADOOP-10514 SUBTASKS AND RELATED JIRAS
|
BREAKDOWN OF HADOOP-10514 SUBTASKS AND RELATED JIRAS
|
||||||
|
|
||||||
HADOOP-10520. Extended attributes definition and FileSystem APIs for
|
HADOOP-10520. Extended attributes definition and FileSystem APIs for
|
||||||
|
@ -126,6 +126,9 @@ static private OSType getOSType() {
|
|||||||
public static final boolean LINUX = (osType == OSType.OS_TYPE_LINUX);
|
public static final boolean LINUX = (osType == OSType.OS_TYPE_LINUX);
|
||||||
public static final boolean OTHER = (osType == OSType.OS_TYPE_OTHER);
|
public static final boolean OTHER = (osType == OSType.OS_TYPE_OTHER);
|
||||||
|
|
||||||
|
public static final boolean PPC_64
|
||||||
|
= System.getProperties().getProperty("os.arch").contains("ppc64");
|
||||||
|
|
||||||
/** a Unix command to get the current user's groups list */
|
/** a Unix command to get the current user's groups list */
|
||||||
public static String[] getGroupsCommand() {
|
public static String[] getGroupsCommand() {
|
||||||
return (WINDOWS)? new String[]{"cmd", "/c", "groups"}
|
return (WINDOWS)? new String[]{"cmd", "/c", "groups"}
|
||||||
|
@ -151,7 +151,7 @@ public void doWork() throws Exception {
|
|||||||
// simulate a partial write scenario. Attempts were made to switch the
|
// simulate a partial write scenario. Attempts were made to switch the
|
||||||
// test from using a pipe to a network socket and also to use larger and
|
// test from using a pipe to a network socket and also to use larger and
|
||||||
// larger buffers in doIO. Nothing helped the situation though.
|
// larger buffers in doIO. Nothing helped the situation though.
|
||||||
if (!Shell.WINDOWS) {
|
if (!Shell.WINDOWS && !Shell.PPC_64) {
|
||||||
try {
|
try {
|
||||||
out.write(1);
|
out.write(1);
|
||||||
fail("Did not throw");
|
fail("Did not throw");
|
||||||
|
Loading…
Reference in New Issue
Block a user