hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jinghui Wang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6579) TestSocketIOWithTimeout#testSocketIOWithTimeout fails on Power PC
Date Mon, 23 Jun 2014 18:01:33 GMT

    [ https://issues.apache.org/jira/browse/HDFS-6579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14041047#comment-14041047

Jinghui Wang commented on HDFS-6579:

Thanks for the prompt review. Yes, this is for PPC64 Linux.

 I have modified the patch per you suggestion. However, rather than introduce a method that
is as extentsive as the getOSType method, I simply added the detection for PPC64 since there
is no need for detecting other architectures yet. Please let me know if a more extensive method
is necessary.

> TestSocketIOWithTimeout#testSocketIOWithTimeout fails on Power PC 
> ------------------------------------------------------------------
>                 Key: HDFS-6579
>                 URL: https://issues.apache.org/jira/browse/HDFS-6579
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.1.0-beta, 2.0.4-alpha, 2.2.0, 2.3.0, 2.4.0
>            Reporter: Jinghui Wang
>         Attachments: HDFS-6579.patch
> SocketOutputStream closes its writer if it's partial written. But on PPC, after writing
for some time, buf.capacity still equals buf.remaining. The reason might be what's written
on PPC is buffered,so the buf.remaining will not change till a flush.

This message was sent by Atlassian JIRA

View raw message