Thanks Nobuaki for replying, we are using libthrift-0.9.0 jar.
setReadLength exist in TBinaryProtocol.

Regards,
Pankaj
-----Original Message-----
From: Nobuaki Sukegawa [mailto:[email protected]] 
Sent: 06 December 2015 09:52
To: [email protected]
Subject: Re: Readlength for python client

Hi Pankarj,

Couldn't find setReadLength in *Java*.
Are you using customized version of Thrift Java ?

On Fri, Dec 4, 2015 at 12:41 PM Pankaj kr <[email protected]> wrote:

> Hi
>
> For java thrift client, we have the API to set the readLength, like 
> TBinaryProtocol tBinaryProtocol = new TBinaryProtocol(transport); 
> tBinaryProtocol.setReadLength(10);
>
>
> How to set readLength for python thrift client.
>         self.transport =
> TTransport.TBufferedTransport(TSocket.TSocket(hbaseThriftServerIP,
> hbaseThriftServerPort),True)
>         protocol = TBinaryProtocol.TBinaryProtocol(self.transport)
>
> Regards,
> Pankaj
>

Reply via email to