hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hairong Kuang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HDFS-547) TestHDFSFileSystemContract#testOutputStreamClosedTwice sometimes fails with ClosedByInterruptException
Date Tue, 18 Aug 2009 23:46:14 GMT

     [ https://issues.apache.org/jira/browse/HDFS-547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hairong Kuang updated HDFS-547:
-------------------------------

    Attachment: closeDataStream1.patch

I changed the parameter forceClose to be force. As to the method name closeThreads, I'd rather
keep it as it is since it is not a newly introduced method and there is already a method called
closeInternal.

> TestHDFSFileSystemContract#testOutputStreamClosedTwice sometimes fails with ClosedByInterruptException
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-547
>                 URL: https://issues.apache.org/jira/browse/HDFS-547
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs client
>    Affects Versions: Append Branch
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>             Fix For: Append Branch
>
>         Attachments: closeDataStream.patch, closeDataStream1.patch
>
>
> Here is the failed stack trace:
> {noformat}
> Testcase: testOutputStreamClosedTwice took 1.026 sec
>         Caused an ERROR
> null
> java.nio.channels.ClosedByInterruptException
>         at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:184)
>         at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:341)
>         at org.apache.hadoop.net.SocketOutputStream$Writer.performIO(SocketOutputStream.java:55)
>         at org.apache.hadoop.net.SocketIOWithTimeout.doIO(SocketIOWithTimeout.java:142)
>         at org.apache.hadoop.net.SocketOutputStream.write(SocketOutputStream.java:146)
>         at org.apache.hadoop.net.SocketOutputStream.write(SocketOutputStream.java:107)
>         at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
>         at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
>         at java.io.DataOutputStream.flush(DataOutputStream.java:106)
>         at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer.run(DFSClient.java:2438)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message