[
https://issues.apache.org/jira/browse/HBASE-12196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14162704#comment-14162704
]
Jimmy Xiang commented on HBASE-12196:
-------------------------------------
Yes, we can have a test for this one. Let me add one. Thanks.
> SSH should retry in case failed to assign regions
> -------------------------------------------------
>
> Key: HBASE-12196
> URL: https://issues.apache.org/jira/browse/HBASE-12196
> Project: HBase
> Issue Type: Bug
> Reporter: Jimmy Xiang
> Assignee: Jimmy Xiang
> Fix For: 2.0.0, 0.99.1
>
> Attachments: hbase-12196.patch
>
>
> If there is only master alive, all regionservers are down, SSH can't find a
> plan to assign user regions. In this case, SSH should retry.
> {noformat}
> 2014-10-07 14:05:18,310 ERROR [MASTER_SERVER_OPERATIONS-a2424:20020-2]
> executor.EventHandler: Caught throwable while processing event
> M_SERVER_SHUTDOWN
> java.io.IOException: Unable to determine a plan to assign region(s)
> at
> org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:1411)
> at
> org.apache.hadoop.hbase.master.handler.ServerShutdownHandler.process(ServerShutdownHandler.java:272)
> at
> org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:128)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:724)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)