Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # dev - Thrift package and Mutations


Copy link to this message
-
Re: Thrift package and Mutations
ramkrishna vasudevan 2013-11-04, 16:35
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 <[EMAIL PROTECTED]> 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 <
> [EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
> 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 <
> > > [EMAIL PROTECTED]> 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)
>