hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nkeywal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6328) FSHDFSUtils#recoverFileLease tries to rethrow InterruptedException but actually shallows it
Date Wed, 04 Jul 2012 18:44:33 GMT

    [ https://issues.apache.org/jira/browse/HBASE-6328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13406660#comment-13406660
] 

nkeywal commented on HBASE-6328:
--------------------------------

Trivial patch. Unit tests ok. Will commit in ~3 days if I don't get no go.
                
> FSHDFSUtils#recoverFileLease tries to rethrow InterruptedException but actually shallows
it
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-6328
>                 URL: https://issues.apache.org/jira/browse/HBASE-6328
>             Project: HBase
>          Issue Type: Bug
>          Components: master, regionserver
>    Affects Versions: 0.96.0
>            Reporter: nkeywal
>            Priority: Minor
>         Attachments: 6328.v1.patch
>
>
> Coding error is:
> {noformat}
>       try {
>         Thread.sleep(1000);
>       } catch (InterruptedException ex) {
>         new InterruptedIOException().initCause(ex);
>       }
> {noformat}
> The exception is created but not thrown...

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

        

Mime
View raw message