You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "stack (JIRA)" <ji...@apache.org> on 2010/01/29 06:23:34 UTC

[jira] Commented: (HDFS-931) DFSClient.close doesn't rethrow exceptions thrown by automatically closed clients

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

stack commented on HDFS-931:
----------------------------

Is there any value in letting exceptions out of a close?  What will the application do with an exception thrown on a close?

> DFSClient.close doesn't rethrow exceptions thrown by automatically closed clients
> ---------------------------------------------------------------------------------
>
>                 Key: HDFS-931
>                 URL: https://issues.apache.org/jira/browse/HDFS-931
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs client
>    Affects Versions: 0.20.1, 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>         Attachments: hdfs-931.txt, hdfs-931.txt, TEST-org.apache.hadoop.hdfs.TestFiPipelines.txt
>
>
> I've written a fault injection test that simply throws exceptions on every ack.readFields call in ResponseProcessor. This ought to raise an exception to the client trying to use the stream, but instead it ignores it silently.

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