Hey Alan,

I'm running Thrift 0.9.3

On Thu, Jun 14, 2018 at 12:26 PM, Alan Gates <alanfga...@gmail.com> wrote:

> What version of thrift do you have?
>
> Alan.
>
> On Thu, Jun 14, 2018 at 11:48 AM Sanchay Javeria <javer...@illinois.edu>
> wrote:
>
> > Hi,
> >
> > I'm seeing a weird error in TBinaryColumn.java on line 383 inside the
> > toString() method. There is a call being made to
> > org.apache.thrift.TBaseHelper.toString(this.values, sb). Looking into
> this
> > method tells that TBaseHelper.toString() assumes ByteBuffer as the first
> > argument whereas this.values is of type List<ByteBuffer>.
> >
> > Building the code with "mvn clean install -Pthriftif -DskipTests
> > -Dthrift.home=/usr/local  -Phadoop-2" says:
> >
> >
> > hive/service/src/gen/thrift/gen-javabean/org/apache/hive/
> service/cli/thrift/TBinaryColumn.java:[383,50]
> > incompatible types: java.util.List<java.nio.ByteBuffer> cannot be
> converted
> > to java.nio.ByteBuffer [ERROR]
> >
> > under the module "Hive Service".
> > TBinaryColumn.java is generated by TCLIService.thrift (line 378) so I
> don't
> > know what I should do to rectify this.
> >
> > Any help?
> >
>

Reply via email to