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] [Updated] (HBASE-7155) Excessive usage of InterruptedException where it can't be thrown
Date Tue, 13 Nov 2012 09:56:12 GMT

     [ https://issues.apache.org/jira/browse/HBASE-7155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Gómez Ferro updated HBASE-7155:
--------------------------------------

    Attachment: HBASE-7155.patch

I did a quick cleaning of InterruptedExceptions. If you think this should be merged I'll do
an in depth pass to check I didn't miss anything.
                
> 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
>         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

Mime
View raw message