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 "Harsh J (Resolved) (JIRA)" <ji...@apache.org> on 2011/12/29 12:43:30 UTC
[jira] [Resolved] (HDFS-19) Unhandled exceptions in DFSClient
[ https://issues.apache.org/jira/browse/HDFS-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Harsh J resolved HDFS-19.
-------------------------
Resolution: Invalid
This has gone stale. I do not find these methods in the current DFSOutputStream. Do open a new one if there is still trouble with the newer impl.
> Unhandled exceptions in DFSClient
> ---------------------------------
>
> Key: HDFS-19
> URL: https://issues.apache.org/jira/browse/HDFS-19
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Konstantin Shvachko
>
> DFSOutputStream.handleSocketException() does not handle exceptions thrown inside it
> by abandonBlock(). I'd propose to retry abandonBlock() in case of timeout.
> In case of DFSOutputStream.close() the exception in handleSocketException() will result in
> calling abandonFileInProgress().
> In a similar case of DFSOutputStream.flush() the file will not be abandoned.
> Exceptions thrown by abandonFileInProgress() are not handled either.
> Feels like we need a general mechanism for handling all these things.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira