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 4783B969A for ; Thu, 7 Jun 2012 04:53:27 +0000 (UTC) Received: (qmail 76025 invoked by uid 500); 7 Jun 2012 04:53:26 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 75847 invoked by uid 500); 7 Jun 2012 04:53:25 -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 75778 invoked by uid 99); 7 Jun 2012 04:53:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jun 2012 04:53:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 4C925140B94 for ; Thu, 7 Jun 2012 04:53:23 +0000 (UTC) Date: Thu, 7 Jun 2012 04:53:23 +0000 (UTC) From: "ramkrishna.s.vasudevan (JIRA)" To: issues@hbase.apache.org Message-ID: <846123424.46411.1339044803315.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1450830335.2342.1337137742877.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-6012) Handling RegionOpeningState for bulk assign since SSH using 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-6012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13290790#comment-13290790 ] ramkrishna.s.vasudevan commented on HBASE-6012: ----------------------------------------------- @Chunhui Minor comments It should be 'processAlreadyOpenedRegion', i think you forgot to add 'e' in 'opened'. Currently it is processAlreadyOpendRegion 'Reassigning region with rs=' should be 'Reassigning region with rs =' (a space is needed). Any specific reason for making this change now? {code} for (HRegionInfo region : reassigningRegions) { assign(region, true, true); } {code} {code} // Failed opening this region, reassign it assign(regions.get(i), true, true); {code} before doing this can we call getRegionPlan() passing the current server on which failure happened so that i can be excluded.(May not be mandatory). Overall looks good. Thanks Chunhui. > Handling RegionOpeningState for bulk assign since SSH using > ----------------------------------------------------------- > > Key: HBASE-6012 > URL: https://issues.apache.org/jira/browse/HBASE-6012 > Project: HBase > Issue Type: Bug > Affects Versions: 0.96.0 > Reporter: chunhui shen > Assignee: chunhui shen > Fix For: 0.96.0 > > Attachments: HBASE-6012.patch, HBASE-6012v2.patch, HBASE-6012v3.patch, HBASE-6012v4.patch > > > Since HBASE-5914, we using bulk assign for SSH > But in the bulk assign case if we get an ALREADY_OPENED case there is no one to clear the znode created by bulk assign. > Another thing, when RS opening a list of regions, if one region is already in transition, it will throw RegionAlreadyInTransitionException and stop opening other regions. -- 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