[ https://issues.apache.org/jira/browse/HDFS-931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated HDFS-931: ----------------------------- Attachment: hdfs-931.txt Here is a patch that modifies DFSClient.close (really LeaseChecker.close) in order to propagate IOExceptions from closed files. This is an incompatible change in a way, but I think it matches the semantics people expect. > 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.