You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2007/03/22 02:45:32 UTC

[jira] Created: (HADOOP-1143) Unhandled exceptions in DFSClient

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.


[jira] Updated: (HADOOP-1143) Unhandled exceptions in DFSClient

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dhruba borthakur updated HADOOP-1143:
-------------------------------------

    Fix Version/s: 0.15.0

> Unhandled exceptions in DFSClient
> ---------------------------------
>
>                 Key: HADOOP-1143
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1143
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.10.0
>            Reporter: Konstantin Shvachko
>             Fix For: 0.15.0
>
>
> 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.


[jira] Updated: (HADOOP-1143) Unhandled exceptions in DFSClient

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dhruba borthakur updated HADOOP-1143:
-------------------------------------

    Component/s: dfs

> Unhandled exceptions in DFSClient
> ---------------------------------
>
>                 Key: HADOOP-1143
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1143
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    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.