You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by Nick Dimiduk <nd...@gmail.com> on 2014/08/01 02:27:34 UTC

Re: adding a profile to build thrift generated classes

So long as you can enforce that the thrift binary version matches whatever
the pom.xml requires, it's fine by me. You want to cook up a patch, Sean?


On Wed, Jul 30, 2014 at 11:12 PM, Srikanth Srungarapu <srikanth235@gmail.com
> wrote:

> +1 on the idea. Currently, there is a profile for generating protobuf files
> (http://hbase.apache.org/book/build.html), but I couldn't find any analog
> for thrift. So, this can come handy when needed.
>
>
> On Wed, Jul 30, 2014 at 10:47 PM, Sean Busbey <bu...@cloudera.com> wrote:
>
> > Hiya!
> >
> > Currently, the only instructions for generating our RPC classes via
> thrift
> > that I can find are in a package javadoc[1].
> >
> > While I doubt we rebuild them very often, I was thinking we could ease
> the
> > process by adding a maven profile that took care of the rebuilding and
> > copying into place.
> >
> > It would still require having thrift installed on the build system, so it
> > would need to be disabled by default.
> >
> > Wanted to check for concerns / objections before filing a jira.
> >
> > [1]: http://s.apache.org/hZv
> >
> > --
> > Sean
> >
>

Re: adding a profile to build thrift generated classes

Posted by Sean Busbey <bu...@cloudera.com>.
Yep, I'll get a JIRA and patch together early next week.

-- 
Sean
On Jul 31, 2014 7:28 PM, "Nick Dimiduk" <nd...@gmail.com> wrote:

> So long as you can enforce that the thrift binary version matches whatever
> the pom.xml requires, it's fine by me. You want to cook up a patch, Sean?
>
>
> On Wed, Jul 30, 2014 at 11:12 PM, Srikanth Srungarapu <
> srikanth235@gmail.com
> > wrote:
>
> > +1 on the idea. Currently, there is a profile for generating protobuf
> files
> > (http://hbase.apache.org/book/build.html), but I couldn't find any
> analog
> > for thrift. So, this can come handy when needed.
> >
> >
> > On Wed, Jul 30, 2014 at 10:47 PM, Sean Busbey <bu...@cloudera.com>
> wrote:
> >
> > > Hiya!
> > >
> > > Currently, the only instructions for generating our RPC classes via
> > thrift
> > > that I can find are in a package javadoc[1].
> > >
> > > While I doubt we rebuild them very often, I was thinking we could ease
> > the
> > > process by adding a maven profile that took care of the rebuilding and
> > > copying into place.
> > >
> > > It would still require having thrift installed on the build system, so
> it
> > > would need to be disabled by default.
> > >
> > > Wanted to check for concerns / objections before filing a jira.
> > >
> > > [1]: http://s.apache.org/hZv
> > >
> > > --
> > > Sean
> > >
> >
>