Return-Path: Delivered-To: apmail-hadoop-core-commits-archive@www.apache.org Received: (qmail 65048 invoked from network); 18 Jul 2008 22:03:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jul 2008 22:03:09 -0000 Received: (qmail 8940 invoked by uid 500); 18 Jul 2008 22:03:07 -0000 Delivered-To: apmail-hadoop-core-commits-archive@hadoop.apache.org Received: (qmail 8917 invoked by uid 500); 18 Jul 2008 22:03:07 -0000 Mailing-List: contact core-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-commits@hadoop.apache.org Received: (qmail 8900 invoked by uid 99); 18 Jul 2008 22:03:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2008 15:03:07 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2008 22:02:08 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 748C0118DE for ; Fri, 18 Jul 2008 22:02:03 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: core-commits@hadoop.apache.org Date: Fri, 18 Jul 2008 22:02:03 -0000 Message-ID: <20080718220203.24339.52142@eos.apache.org> Subject: [Hadoop Wiki] Update of "Hbase/Plan-0.2/APIChanges" by izaakrubin X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification. The following page has been changed by izaakrubin: http://wiki.apache.org/hadoop/Hbase/Plan-0%2e2/APIChanges ------------------------------------------------------------------------------ `startUpdate(Text)` was used to start an atomic row update on the passed row name, and a "lock id" (`long`) was returned to identify the update. `put(...)` and `delete(...)` could be called using the lock id, and any changes made with that lock id could be aborted or committed. - HBase 0.2 has completely changed the way in which atomic row updates take place. To update a row, the user first creates a `BatchUpdate` object (new to 0.2, package `org.apache.hadoop.hbase.io`). `put(...)` and `delete(...)` operations are applied to the `BatchUpdate`, not the `HTable`. Once finished, the user commits the `BatchUpdate` with one of the following new `HTable` methods: + HBase 0.2 has completely changed the way in which atomic row updates take place. To update a row, the user first creates a `BatchUpdate` object. `put(...)` and `delete(...)` operations are applied to the `BatchUpdate`, not the `HTable`. Once finished, the user commits the `BatchUpdate` with one of the following new `HTable` methods: ''0.2:'' [[BR]] {{{public synchronized void commit(BatchUpdate);}}}