You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Rajeshkumar J <ra...@gmail.com> on 2016/02/16 08:04:56 UTC

Exceptions in Thrift

Hi,


   I am connecting to thrift server via C# code and I am getting the
following exception as shown below

   Thrift.Protocol.TProtocolException :Missing version in readMessageBegin,
old client?

Can any one explain me why above occurs

Thanks

Re: Exceptions in Thrift

Posted by Rajeshkumar J <ra...@gmail.com>.
Hi Ted,

   Is the difference in the thrift version is the root cause of this
problem?

   As I am using this in web service when multiple (more than 10 requests
per sec) requests (clients) are given for this service only it throws error
otherwise it works fine.

Thanks

On Tue, Feb 16, 2016 at 6:12 PM, Ted Yu <yu...@gmail.com> wrote:

> 0.98 uses thrift 0.9.0
>
>     <thrift.version>0.9.0</thrift.version>
>
> Can you pastebin the complete stack trace ?
>
> Were all the client connections encountering this problem ?
>
> Thanks
>
> On Tue, Feb 16, 2016 at 12:47 AM, Rajeshkumar J <
> rajeshkumarit8292@gmail.com
> > wrote:
>
> > Hi,
> >
> >   Please ignore my previous mail.
> >
> >   My C# code was compiled against thrift 0.92 and I am trying to connect
> to
> > hbase 0.98.17
> >
> > Thanks
> >
> > On Tue, Feb 16, 2016 at 2:02 PM, Rajeshkumar J <
> > rajeshkumarit8292@gmail.com>
> > wrote:
> >
> > > Hi,
> > >
> > >  For both I have used hbase 0.98.17 only
> > >
> > > Thnaks
> > >
> > > On Tue, Feb 16, 2016 at 1:14 PM, Ted Yu <yu...@gmail.com> wrote:
> > >
> > >> What version of thrift was your C# code compiled against ?
> > >>
> > >> Which release of hbase do you try to connect to ?
> > >>
> > >> Cheers
> > >>
> > >> On Mon, Feb 15, 2016 at 11:04 PM, Rajeshkumar J <
> > >> rajeshkumarit8292@gmail.com
> > >> > wrote:
> > >>
> > >> > Hi,
> > >> >
> > >> >
> > >> >    I am connecting to thrift server via C# code and I am getting the
> > >> > following exception as shown below
> > >> >
> > >> >    Thrift.Protocol.TProtocolException :Missing version in
> > >> readMessageBegin,
> > >> > old client?
> > >> >
> > >> > Can any one explain me why above occurs
> > >> >
> > >> > Thanks
> > >> >
> > >>
> > >
> > >
> >
>

Re: Exceptions in Thrift

Posted by Ted Yu <yu...@gmail.com>.
0.98 uses thrift 0.9.0

    <thrift.version>0.9.0</thrift.version>

Can you pastebin the complete stack trace ?

Were all the client connections encountering this problem ?

Thanks

On Tue, Feb 16, 2016 at 12:47 AM, Rajeshkumar J <rajeshkumarit8292@gmail.com
> wrote:

> Hi,
>
>   Please ignore my previous mail.
>
>   My C# code was compiled against thrift 0.92 and I am trying to connect to
> hbase 0.98.17
>
> Thanks
>
> On Tue, Feb 16, 2016 at 2:02 PM, Rajeshkumar J <
> rajeshkumarit8292@gmail.com>
> wrote:
>
> > Hi,
> >
> >  For both I have used hbase 0.98.17 only
> >
> > Thnaks
> >
> > On Tue, Feb 16, 2016 at 1:14 PM, Ted Yu <yu...@gmail.com> wrote:
> >
> >> What version of thrift was your C# code compiled against ?
> >>
> >> Which release of hbase do you try to connect to ?
> >>
> >> Cheers
> >>
> >> On Mon, Feb 15, 2016 at 11:04 PM, Rajeshkumar J <
> >> rajeshkumarit8292@gmail.com
> >> > wrote:
> >>
> >> > Hi,
> >> >
> >> >
> >> >    I am connecting to thrift server via C# code and I am getting the
> >> > following exception as shown below
> >> >
> >> >    Thrift.Protocol.TProtocolException :Missing version in
> >> readMessageBegin,
> >> > old client?
> >> >
> >> > Can any one explain me why above occurs
> >> >
> >> > Thanks
> >> >
> >>
> >
> >
>

Re: Exceptions in Thrift

Posted by Rajeshkumar J <ra...@gmail.com>.
Hi,

  Please ignore my previous mail.

  My C# code was compiled against thrift 0.92 and I am trying to connect to
hbase 0.98.17

Thanks

On Tue, Feb 16, 2016 at 2:02 PM, Rajeshkumar J <ra...@gmail.com>
wrote:

> Hi,
>
>  For both I have used hbase 0.98.17 only
>
> Thnaks
>
> On Tue, Feb 16, 2016 at 1:14 PM, Ted Yu <yu...@gmail.com> wrote:
>
>> What version of thrift was your C# code compiled against ?
>>
>> Which release of hbase do you try to connect to ?
>>
>> Cheers
>>
>> On Mon, Feb 15, 2016 at 11:04 PM, Rajeshkumar J <
>> rajeshkumarit8292@gmail.com
>> > wrote:
>>
>> > Hi,
>> >
>> >
>> >    I am connecting to thrift server via C# code and I am getting the
>> > following exception as shown below
>> >
>> >    Thrift.Protocol.TProtocolException :Missing version in
>> readMessageBegin,
>> > old client?
>> >
>> > Can any one explain me why above occurs
>> >
>> > Thanks
>> >
>>
>
>

Re: Exceptions in Thrift

Posted by Rajeshkumar J <ra...@gmail.com>.
Hi,

 For both I have used hbase 0.98.17 only

Thnaks

On Tue, Feb 16, 2016 at 1:14 PM, Ted Yu <yu...@gmail.com> wrote:

> What version of thrift was your C# code compiled against ?
>
> Which release of hbase do you try to connect to ?
>
> Cheers
>
> On Mon, Feb 15, 2016 at 11:04 PM, Rajeshkumar J <
> rajeshkumarit8292@gmail.com
> > wrote:
>
> > Hi,
> >
> >
> >    I am connecting to thrift server via C# code and I am getting the
> > following exception as shown below
> >
> >    Thrift.Protocol.TProtocolException :Missing version in
> readMessageBegin,
> > old client?
> >
> > Can any one explain me why above occurs
> >
> > Thanks
> >
>

Re: Exceptions in Thrift

Posted by Ted Yu <yu...@gmail.com>.
What version of thrift was your C# code compiled against ?

Which release of hbase do you try to connect to ?

Cheers

On Mon, Feb 15, 2016 at 11:04 PM, Rajeshkumar J <rajeshkumarit8292@gmail.com
> wrote:

> Hi,
>
>
>    I am connecting to thrift server via C# code and I am getting the
> following exception as shown below
>
>    Thrift.Protocol.TProtocolException :Missing version in readMessageBegin,
> old client?
>
> Can any one explain me why above occurs
>
> Thanks
>