hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramkrishna vasudevan <ramkrishna.s.vasude...@gmail.com>
Subject Re: Thrift package and Mutations
Date Mon, 04 Nov 2013 16:35:55 GMT
Raised https://issues.apache.org/jira/browse/HBASE-9883 and
https://issues.apache.org/jira/browse/HBASE-9882

Regards
Ram


On Mon, Nov 4, 2013 at 8:27 PM, Andrew Purtell <apurtell@apache.org> wrote:

> We should open a JIRA for adding more optional members to the Thrift
> Mutation union for the currently lacking ops.
>
>
> On Mon, Nov 4, 2013 at 12:54 AM, ramkrishna vasudevan <
> ramkrishna.s.vasudevan@gmail.com> wrote:
>
> > >>This TMutation  is used with Atomic mutation of a row. There we can
> only
> > pass Put/Delete.  See HRegion for impl also
> > I saw this implementation.
> > The point is Increment/Append extends Mutation as per the definition in
> > java.  Hence in thrift also we could have it like that.
> >
> > Regards
> > Ram
> >
> >
> > On Mon, Nov 4, 2013 at 11:21 AM, Anoop John <anoop.hbase@gmail.com>
> wrote:
> >
> > > >Found that the thrift does not have the support for Append
> > > Yes I too can not see. Missed before?
> > > >also that under
> > > mutations we have only Put and Delete
> > >
> > > This TMutation  is used with Atomic mutation of a row. There we can
> only
> > > pass Put/Delete.  See HRegion for impl also
> > >
> > > -Anoop-
> > > On Mon, Nov 4, 2013 at 11:06 AM, ramkrishna vasudevan <
> > > ramkrishna.s.vasudevan@gmail.com> wrote:
> > >
> > > > Hi Devs
> > > >
> > > > Found that the thrift does not have the support for Append, also that
> > > under
> > > > mutations we have only Put and Delete.  The Append and Increment does
> > not
> > > > fall under the mutations.
> > > >
> > > > {code}
> > > > /**
> > > >  * Atomic mutation for the specified row. It can be either Put or
> > Delete.
> > > >  */
> > > > union TMutation {
> > > >   1: optional TPut put,
> > > >   2: optional TDelete deleteSingle,
> > > > }
> > > > {code}
> > > > Was it done intentionally?  Or they are things to be done on thrift ?
> > > >
> > > > Regards
> > > > Ram
> > > >
> > >
> >
>
>
>
> --
> Best regards,
>
>    - Andy
>
> Problems worthy of attack prove their worth by hitting back. - Piet Hein
> (via Tom White)
>

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