Unhandled exceptions in DFSClient
---------------------------------

                 Key: HADOOP-1143
                 URL: https://issues.apache.org/jira/browse/HADOOP-1143
             Project: Hadoop
          Issue Type: Bug
    Affects Versions: 0.10.0
            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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to