Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 31101173DE for ; Tue, 7 Oct 2014 22:00:35 +0000 (UTC) Received: (qmail 11754 invoked by uid 500); 7 Oct 2014 22:00:34 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 11649 invoked by uid 500); 7 Oct 2014 22:00:34 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 11341 invoked by uid 99); 7 Oct 2014 22:00:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2014 22:00:34 +0000 Date: Tue, 7 Oct 2014 22:00:34 +0000 (UTC) From: "Jimmy Xiang (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-12196) SSH should retry in case failed to assign regions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jimmy Xiang created HBASE-12196: ----------------------------------- Summary: 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 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)