hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: delete operation that can be rolled back
Date Thu, 20 May 2010 00:28:02 GMT
pseudo code:
for every row in a set
  mark the row deleted but not calling HBase delete
  if certain condition is satisfied, bail out of loop
for every marked row in previous loop
  delete it in HBase

I know some deletion in second loop may fail, but that's another topic.

Thanks

On Wed, May 19, 2010 at 5:21 PM, Jonathan Gray <jgray@facebook.com> wrote:

> I'm not sure I understand what you're asking or trying to do.
>
> Can you lay out the order of events / what you want to happen?  I don't see
> where you roll something back.
>
> Thanks.
>
> > -----Original Message-----
> > From: Ted Yu [mailto:yuzhihong@gmail.com]
> > Sent: Wednesday, May 19, 2010 4:53 PM
> > To: hbase-user@hadoop.apache.org
> > Subject: delete operation that can be rolled back
> >
> > Hi,
> > We are implementing delete operation that can be rolled back. I.e. we
> > don't
> > want to delete particular row immediately before a set of rows are
> > processed.
> >
> > I want to get wisdom from the community for the best practice.
> >
> > Thanks
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message