Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 20988 invoked from network); 8 Apr 2011 04:06:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Apr 2011 04:06:45 -0000 Received: (qmail 12066 invoked by uid 500); 8 Apr 2011 04:06:45 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 11957 invoked by uid 500); 8 Apr 2011 04:06: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 11944 invoked by uid 99); 8 Apr 2011 04:06:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Apr 2011 04:06:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Apr 2011 04:06:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C0803975E6 for ; Fri, 8 Apr 2011 04:06:05 +0000 (UTC) Date: Fri, 8 Apr 2011 04:06:05 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: <1058623154.42875.1302235565785.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <69674369.38684.1302122765765.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-3744) createTable blocks until all regions are out of transition 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-3744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017262#comment-13017262 ] Ted Yu commented on HBASE-3744: ------------------------------- Thanks for detailed review Stack. Shall we call the new class BulkRegionAssigner ? Then we can use a boolean parameter, startup, for BulkRegionAssigner ctor to represent BulkStartupAssigner ? This parameter would determine the behavior of getUncaughtExceptionHandler(). > createTable blocks until all regions are out of transition > ---------------------------------------------------------- > > Key: HBASE-3744 > URL: https://issues.apache.org/jira/browse/HBASE-3744 > Project: HBase > Issue Type: Bug > Components: master > Affects Versions: 0.90.1 > Reporter: Todd Lipcon > Assignee: Ted Yu > Priority: Critical > Fix For: 0.92.0 > > Attachments: 3744.txt, 3744.txt > > > In HBASE-3305, the behavior of createTable was changed and introduced this bug: createTable now blocks until all regions have been assigned, since it uses BulkStartupAssigner. BulkStartupAssigner.waitUntilDone calls assignmentManager.waitUntilNoRegionsInTransition, which waits across all regions, not just the regions of the table that has just been created. > We saw an issue where one table had a region which was unable to be opened, so it was stuck in RegionsInTransition permanently (every open was failing). Since this was the case, waitUntilDone would always block indefinitely even though the newly created table had been assigned. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira