hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "Hbase/Plan-0.2/APIChanges" by izaakrubin
Date Fri, 18 Jul 2008 22:02:03 GMT
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);}}}

Mime
View raw message