Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 94186 invoked from network); 7 Apr 2011 05:12:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Apr 2011 05:12:45 -0000 Received: (qmail 53710 invoked by uid 500); 7 Apr 2011 05:12:44 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 53682 invoked by uid 500); 7 Apr 2011 05:12: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 53672 invoked by uid 99); 7 Apr 2011 05:12:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2011 05:12: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; Thu, 07 Apr 2011 05:12: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 B43A196246 for ; Thu, 7 Apr 2011 05:12:05 +0000 (UTC) Date: Thu, 7 Apr 2011 05:12:05 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: <345229667.39890.1302153125735.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=13016698#comment-13016698 ] Ted Yu commented on HBASE-3744: ------------------------------- BulkOpen isn't used. We also have: {code} class BulkEnabler extends BulkAssigner { {code} > 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 > Fix For: 0.92.0 > > Attachments: 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