hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-14399) unhandled exception
Date Thu, 10 Sep 2015 22:26:46 GMT

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

Andrew Purtell resolved HBASE-14399.
------------------------------------
    Resolution: Invalid

Please don't file issues like this for nits. We'd have too many pending issues, tiny patches,
review cycles. If you'd like to point out an issue like this, find multiple occurrences, preferable
all of them you can spot, then make an issue about fixing all of them. 

> unhandled exception
> -------------------
>
>                 Key: HBASE-14399
>                 URL: https://issues.apache.org/jira/browse/HBASE-14399
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 1.0.1, 1.1.1, 1.0.1.1, 1.1.2
>            Reporter: songwanging
>            Priority: Minor
>
> In method run() of class HRegionServer( hbase-server\src\main\java\org\apache\hadoop\hbase\regionserver\HRegionServer.java).
> The first dummy catch block catch (KeeperException.NoNodeException nn)
> performs no actions to handle its expected exception, which makes itself useless. 
> To fix this bug, developers should add more code into the catch block to handle this
exception.
> public void run() {
> ...
> try {
>  deleteMyEphemeralNode();
> }catch (KeeperException.NoNodeException nn){
> }catch (KeeperException e) {
>  LOG.warn("Failed deleting my ephemeral node",e);
> }
> ...
> }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message