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 3E7D3777E for ; Sat, 10 Sep 2011 21:33:36 +0000 (UTC) Received: (qmail 1389 invoked by uid 500); 10 Sep 2011 21:33:35 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 1326 invoked by uid 500); 10 Sep 2011 21:33:35 -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 1318 invoked by uid 99); 10 Sep 2011 21:33:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Sep 2011 21:33:35 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of saint.ack@gmail.com designates 209.85.216.176 as permitted sender) Received: from [209.85.216.176] (HELO mail-qy0-f176.google.com) (209.85.216.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Sep 2011 21:33:28 +0000 Received: by qyk36 with SMTP id 36so80006qyk.14 for ; Sat, 10 Sep 2011 14:33:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=MMwDkLBOTt4dkwKM3PCqzGWL5nn/4lEe4EWOQ4yPbM8=; b=sbxKcJgCSC/t7ZfQ66RdnUCnMioXhQHn1DXSuzKHI+8MZ5tZ9ZzONhxA2iWkmxSvmX C70A2vWS/cnZP7iSkLKtgb3SeVFoqbx0ewJBitI7br3d7Ne7hz4vXrTU/voXUdNx+B13 WPsjwg1JZ/rG4UIl62syU15HVTu8NBdl/w2ag= MIME-Version: 1.0 Received: by 10.224.198.3 with SMTP id em3mr2480437qab.306.1315690387815; Sat, 10 Sep 2011 14:33:07 -0700 (PDT) Sender: saint.ack@gmail.com Received: by 10.224.73.133 with HTTP; Sat, 10 Sep 2011 14:33:07 -0700 (PDT) In-Reply-To: References: Date: Sat, 10 Sep 2011 14:33:07 -0700 X-Google-Sender-Auth: iN_6uAqZdzMH0noKK1fDAUJGT3c Message-ID: Subject: Re: HBASE-4358 From: Stack To: dev@hbase.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Its as though we should do all the mods in a tmp dir and then if all go through, only then do fs.rename moving the new schema into place. St.Ack On Fri, Sep 9, 2011 at 7:25 PM, Ted Yu wrote: > I ran unit tests for HBASE-4358 patch 3 and they passed. > > The only issue remaining is in TableMultiFamilyHandler.java > =A0@Override > =A0protected void updateTableDescriptor(HTableDescriptor desc) > =A0 =A0throws IOException { > =A0 =A0// just ask all of the sub-operations to update the descriptor > =A0 =A0for (TableFamilyHandler op : operations) { > =A0 =A0 =A0op.updateTableDescriptor(desc); > =A0 =A0} > =A0} > where we don't have ACID guarantee that either all modifications go throu= gh > or none of the modifications go through. > > If the above is Okay, I can add javadoc for the above at time of commit. > > If anyone thinks this is not good, please comment on ways of supporting A= CID > guarantee. > > Thanks >