[jira] [Updated] (HBASE-7155) Excessive usage of InterruptedException where it can't be thrown

2012-11-30 Thread stack (JIRA)

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

stack updated HBASE-7155:
-

Resolution: Won't Fix
Status: Resolved  (was: Patch Available)

This is a problem but too much ugly work to fix.  Thanks Daniel for bringing it 
up.

 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


[jira] [Updated] (HBASE-7155) Excessive usage of InterruptedException where it can't be thrown

2012-11-13 Thread JIRA

 [ 
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


[jira] [Updated] (HBASE-7155) Excessive usage of InterruptedException where it can't be thrown

2012-11-13 Thread JIRA

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

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

Assignee: Daniel Gómez Ferro
Release Note: Some HBaseAdmin methods don't throw InterruptedException any 
longer, this could break existing code that tries to catch it.
  Status: Patch Available  (was: Open)

 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