hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashish Singhi <ashish.singhi.apa...@gmail.com>
Subject Re: How to generate thrift classes ?
Date Sat, 18 Jul 2015 17:41:30 GMT
Thank you so much Ted.
This was very short and simple.

On Sat, Jul 18, 2015 at 8:27 PM, Ted Yu <yuzhihong@gmail.com> wrote:

> Ashish:
> Please take a look at HBASE-12272
>
> I tried the following commands:
>
>  2120  mvn install -DskipTests
>  2122  mvn compile -Pcompile-thrift -Dthrift.version=0.9.0
>
> Cheers
>
> On Fri, Jul 17, 2015 at 6:12 AM, ramkrishna vasudevan <
> ramkrishna.s.vasudevan@gmail.com> wrote:
>
> > Sorry forgot to attach the link
> >
> > http://wiki.apache.org/hadoop/Hbase/ThriftApi
> >
> > Regards
> > Ram
> >
> > On Fri, Jul 17, 2015 at 6:04 PM, ramkrishna vasudevan <
> > ramkrishna.s.vasudevan@gmail.com> wrote:
> >
> > > Hi Ashish
> > >
> > > I have tried adding thrift files for some cases while doing Tags and
> > > visibility labels.
> > > Pls take a look at this link for reference - may be it is obselete but
> > > could be helpful.
> > >
> > > Take a look at HBASE-9884 for the sample case.
> > >
> > > It is like the protobuf changes that we do.  We will have the
> > hbase.thrift
> > > file under
> > > \hbase\hbase-thrift\src\main\resources\org\apache\hadoop\hbase\thrift.
> > >
> > > You need to download a thrift complier as suggested in the link above.
> > > Once you make the change you need to use the thrift exe to generate the
> > > files.
> > > Once generated you to change the Thrift packages which will be using
> > these
> > > generated java files.  I need to check in your case what changes would
> be
> > > coming in the thrift side. Let me know if you need more information.
> > >
> > > Regards
> > > Ram
> > >
> > > On Fri, Jul 17, 2015 at 5:07 PM, Ashish Singhi <
> > > ashish.singhi.apache@gmail.com> wrote:
> > >
> > >> Hi devs.
> > >>
> > >> I want to remove Iface#getRowOrBefore api as part of HBASE-13954. The
> > doc
> > >> on top of the class says "Autogenerated by Thrift Compiler (0.9.0)".
> So
> > I
> > >> think, I should not remove it manually there should be some way to
> > >> generate
> > >> this class.
> > >>
> > >> Can any one please explain me how to generate thrift classes ?
> > >>
> > >> Regards,
> > >> Ashish
> > >>
> > >
> > >
> >
>

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