Just noticed you want to delete as well. I think that's supported since 0.95 in mutateRow ( http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/HTable.html#mutateRow(org.apache.hadoop.hbase.client.RowMutations) ). You can do multiple puts and deletes and they will be performed atomically. So you can remove qualifiers and put new ones.
Mohamed On Fri, Apr 19, 2013 at 3:44 PM, Kristoffer Sjögren <sto...@gmail.com>wrote: > What would you suggest? I want the operation to be atomic. > > > On Fri, Apr 19, 2013 at 8:32 PM, Ted Yu <yuzhih...@gmail.com> wrote: > > > What is the maximum number of versions do you allow for the underlying > > table ? > > > > Thanks > > > > On Fri, Apr 19, 2013 at 10:53 AM, Kristoffer Sjögren <sto...@gmail.com > > >wrote: > > > > > Hi > > > > > > Is it possible to completely overwrite/replace a row in a single > _atomic_ > > > action? Already existing columns and qualifiers should be removed if > they > > > do not exist in the data inserted into the row. > > > > > > The only way to do this is to first delete the row then insert new data > > in > > > its place, correct? Or is there an operation to do this? > > > > > > Cheers, > > > -Kristoffer > > > > > >