hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Gómez Ferro (JIRA) <j...@apache.org>
Subject [jira] [Commented] (HBASE-7155) Excessive usage of InterruptedException where it can't be thrown
Date Wed, 21 Nov 2012 09:43:58 GMT

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

Daniel Gómez Ferro commented on HBASE-7155:

Is there interest on changing this? If RootRegionTracker.getRootRegionLocation() can block,
we should at least fix the documentation.
> Excessive usage of InterruptedException where it can't be thrown
> ----------------------------------------------------------------
>                 Key: HBASE-7155
>                 URL: https://issues.apache.org/jira/browse/HBASE-7155
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Daniel Gómez Ferro
>            Assignee: Daniel Gómez Ferro
>         Attachments: HBASE-7155.patch
> RootRegionTracker.getRootRegionLocation() declares that it can throw an InterruptedException,
but it can't. This exception is rethrown by many other functions reaching the HBaseAdmin API.
> If we remove the throws statement from the HBaseAdmin API libraries already compiled
will work fine, but if the user is trying to catch an InterruptedException around one of those
methods the compiler will complain.
> Should we clean this up?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message