hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11462) TestSocketIOWithTimeout needs change for PowerPC platform
Date Thu, 08 Jan 2015 15:23:36 GMT

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

Hudson commented on HADOOP-11462:
---------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #2018 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2018/])
HADOOP-11462. TestSocketIOWithTimeout needs change for PowerPC platform. Contributed by Ayappan.
(cnauroth: rev 3ed0aed3cc4c2c7f96d3c5dd95d8dcd4eb8e888a)
* hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestSocketIOWithTimeout.java
* hadoop-common-project/hadoop-common/CHANGES.txt


> TestSocketIOWithTimeout 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: Ayappan
>             Fix For: 2.7.0
>
>         Attachments: HADOOP-9627-v1.patch, HADOOP-9627-v2.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)

Mime
View raw message