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

Todd Lipcon updated HDFS-931:
-----------------------------

    Affects Version/s:     (was: 0.20.1)
               Status: Open  (was: Patch Available)

I'm cancelling patch since the test failures actually all seem to be related to 
this.

So do people agree on this direction? If so I will work through the test 
failures.

Also, should we consider this a breaking change? I think so - people might be 
relying on this behavior (eg using fs.close() in finally blocks and not 
expecting it to throw).

> 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.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.

Reply via email to