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 C2F8F4F5E for ; Fri, 17 Jun 2011 15:43:53 +0000 (UTC) Received: (qmail 42054 invoked by uid 500); 17 Jun 2011 15:43:53 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 41964 invoked by uid 500); 17 Jun 2011 15:43:52 -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 41956 invoked by uid 99); 17 Jun 2011 15:43:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jun 2011 15:43:52 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of todd@cloudera.com designates 209.85.214.41 as permitted sender) Received: from [209.85.214.41] (HELO mail-bw0-f41.google.com) (209.85.214.41) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jun 2011 15:43:44 +0000 Received: by bwz17 with SMTP id 17so3183107bwz.14 for ; Fri, 17 Jun 2011 08:43:24 -0700 (PDT) Received: by 10.205.35.1 with SMTP id su1mr1767032bkb.129.1308325403291; Fri, 17 Jun 2011 08:43:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.37.79 with HTTP; Fri, 17 Jun 2011 08:43:03 -0700 (PDT) In-Reply-To: References: From: Todd Lipcon Date: Fri, 17 Jun 2011 08:43:03 -0700 Message-ID: Subject: Re: HBASE 3904 To: dev@hbase.apache.org Content-Type: multipart/alternative; boundary=bcaec52c64dfe9f08004a5ea3e6b X-Virus-Checked: Checked by ClamAV on apache.org --bcaec52c64dfe9f08004a5ea3e6b Content-Type: text/plain; charset=ISO-8859-1 createTable should be synchronous. If 3744 accidentally made it completely async that's a bug. But, as JD said, it should only be synchronous on the regions of the new tables, rather than blocking on regions-in-transition from other tables. -Todd On Thu, Jun 16, 2011 at 2:39 PM, Ted Yu wrote: > https://issues.apache.org/jira/browse/HBASE-3744 has been fixed. > > FYI > On Fri, Jun 17, 2011 at 5:32 AM, Jean-Daniel Cryans >wrote: > > > Can you point to the issue where Todd did the revert? > > > > Thx, > > > > J-D > > > > On Thu, Jun 16, 2011 at 2:28 PM, Ted Yu wrote: > > > Hi, > > > J-D recently expressed the idea of changing behavior of > HBA.createTable() > > to > > > be consistent with its javadoc. > > > Meaning, HBA.createTable() should be synchronous. > > > > > > Todd reported an issue which resulted in reverting my changes that > caused > > > HBA.createTable() to be synchronous. > > > > > > I want to see if we can reach consensus on how HBASE 3904 should be > > handled. > > > > > > We have 3 options: > > > 1. making HBA.createTable() to be synchronous in TRUNK > > > 2. pass initial region count in HTD > > > 3. add new method in HBA for synchronous table creation > > > > > > Thanks > > > > > > -- Todd Lipcon Software Engineer, Cloudera --bcaec52c64dfe9f08004a5ea3e6b--