Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B897AC7CC for ; Mon, 18 Jun 2012 04:00:44 +0000 (UTC) Received: (qmail 30129 invoked by uid 500); 18 Jun 2012 04:00:44 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 30089 invoked by uid 500); 18 Jun 2012 04:00:44 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 30056 invoked by uid 99); 18 Jun 2012 04:00:43 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jun 2012 04:00:43 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id F0CDA1416E9 for ; Mon, 18 Jun 2012 04:00:42 +0000 (UTC) Date: Mon, 18 Jun 2012 04:00:42 +0000 (UTC) From: "chunhui shen (JIRA)" To: issues@hbase.apache.org Message-ID: <834479662.23719.1339992042989.JavaMail.jiratomcat@issues-vm> In-Reply-To: <945105630.23710.1339991322353.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HBASE-6227) SSH and cluster startup causes data loss MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-6227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13393659#comment-13393659 ] chunhui shen commented on HBASE-6227: ------------------------------------- In my opinion, an easy way to fix this issue is that master consider it as fail over if getDeadServers() are not empty. But it will slow master's initialization > SSH and cluster startup causes data loss > ----------------------------------------- > > Key: HBASE-6227 > URL: https://issues.apache.org/jira/browse/HBASE-6227 > Project: HBase > Issue Type: Bug > Components: master > Reporter: chunhui shen > Assignee: chunhui shen > > In AssignmentManager#processDeadServersAndRegionsInTransition, if servershutdownhandler is processing and master consider it cluster startup, master will assign all user regions, however, servershutdownhandler has not completed splitting logs. > Detail process as the following( 1 master, 1 regionserver): > 1.All the servers are killed > 2.master start up, regionserver's zk node exists, so master will record it > 3.master won't split any logs > 4.regionserver start up, and master assign root and meta > 5.the old regionserver is in SSH now, when rebuild user region, no region is added in master's region list > 6.master consider it is cluster up, so it will assign all user regions > 7.However, some region's data is in logs which are splittting by SSH -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira