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

Jean-Daniel Cryans commented on HBASE-2417:
-------------------------------------------

Yeah took me a while too. So basically if there's a normal exception like NSRE 
then it will return null (that I catch). HCM could use some refactoring love.

> HCM.locateRootRegion fails hard on "Connection refused"
> -------------------------------------------------------
>
>                 Key: HBASE-2417
>                 URL: https://issues.apache.org/jira/browse/HBASE-2417
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.3
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.20.4, 0.21.0
>
>         Attachments: HBASE-2417.patch
>
>
> While running some tests on replication, I saw that our client does something 
> dumb if it tries to contact a dead region server that held the ROOT region in 
> HCM.locateRootRegion. Will post stack trace in a comment.
> The problem here is that we don't retry at all, the exception will come 
> straight out of HCM like it's the end of the world.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to