You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/01/06 11:12:34 UTC
[jira] [Commented] (HADOOP-11462) TestSocketIOTimeout needs change
for PowerPC platform
[ https://issues.apache.org/jira/browse/HADOOP-11462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14265927#comment-14265927 ]
Hadoop QA commented on HADOOP-11462:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12690298/HADOOP-9627-v1.patch
against trunk revision 4cd66f7.
{color:green}+1 @author{color}. The patch does not contain any @author tags.
{color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files.
{color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings.
{color:green}+1 javadoc{color}. There were no new javadoc warning messages.
{color:green}+1 eclipse:eclipse{color}. The patch built with eclipse:eclipse.
{color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 2.0.3) warnings.
{color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings.
{color:red}-1 core tests{color}. The patch failed these unit tests in hadoop-common-project/hadoop-common:
org.apache.hadoop.ha.TestZKFailoverControllerStress
Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/5367//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/5367//console
This message is automatically generated.
> TestSocketIOTimeout needs change for PowerPC platform
> -----------------------------------------------------
>
> Key: HADOOP-11462
> URL: https://issues.apache.org/jira/browse/HADOOP-11462
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Affects Versions: 2.5.2
> Environment: PowerPC
> Reporter: Ayappan
> Assignee: Chris Nauroth
> Attachments: HADOOP-9627-v1.patch
>
>
> TestSocketIOWithTimeout uses a block size of 4192 bytes to simulate a partial write. This seems to be a valid in x86 architecture where the default minimum blocksize is 4096.
> This testcase fails in PowerPC where the default minimum block size is 65536 bytes (64KB). So for PowerPC, using a blocksize little more than 64K , say 65555(65536 + 19) holds good for this scenario.
> I attached a patch here where i made it very general by introducing NativeIO.POSIX.getCacheManipulator().getOperatingSystemPageSize() to get the page size.
> I tested my patch in both ppc64 and x86 linux machines.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)