hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Coprocessor postWALRestore deletes
Date Tue, 15 Mar 2011 21:58:09 GMT
I think there may be more than one delete per edit.


On Tue, Mar 15, 2011 at 2:45 PM, Jason Rutherglen <
jason.rutherglen@gmail.com> wrote:

> Ted, thanks for the info.
>
> > Please note that WALEdit parameter for postWALRestore() contains the
> > collection of edits (KeyValue objects)
>
> Is the collection of edit limited to a single row?  Can there be
> multiple deletes per edit?
>
> On Tue, Mar 15, 2011 at 1:38 PM, Ted Yu <yuzhihong@gmail.com> wrote:
> > Jason:
> > There're 3 types of deletes:
> >    Delete((byte)8),
> >    DeleteColumn((byte)12),
> >    DeleteFamily((byte)14),
> > You can choose the corresponding KeyValue method
> >
> > Please note that WALEdit parameter for postWALRestore() contains the
> > collection of edits (KeyValue objects)
> >
> > On Tue, Mar 15, 2011 at 12:19 PM, Jason Rutherglen <
> > jason.rutherglen@gmail.com> wrote:
> >
> >> How does one know if a postWALRestore is a delete?  There's a set of
> >> methods KeyValue.isDelete*.  Should one use these? For a single
> >> postWALRestore method call, is there only one delete (rather than an a
> >> batch delete, add, etc)?
> >>
> >
>

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