I tried that command first and got:

[WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireProperty failed
with message:
-
-
[FATAL]
==========================================================================================
[FATAL] HBase Thrift requires the thrift generator version 0.9.0.
[FATAL] Setting it to something else needs to be reviewed for wire and
behavior compatibility.

On Sat, Jul 18, 2015 at 12:50 PM, Niels Basjes <[email protected]> wrote:

> Or to put it simply have a look at the documentation I wrote for that:
> http://hbase.apache.org/book.html#build.thrift
>
> You can simplify it to: mvn compile -Pcompile-thrift
>
> Niels Basjes
>
> On Sat, Jul 18, 2015 at 4:57 PM, Ted Yu <[email protected]> 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 <
> > [email protected]> 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 <
> >> [email protected]> 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 <
> >> > [email protected]> 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
> >> >>
> >> >
> >> >
> >>
>
>
>
> --
> Best regards / Met vriendelijke groeten,
>
> Niels Basjes
>

Reply via email to