[ 
https://issues.apache.org/jira/browse/THRIFT-1531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13221299#comment-13221299
 ] 

Bryan Duxbury commented on THRIFT-1531:
---------------------------------------

I had a cursory look at the patch on HBASE-5506. Is there any chance you're 
using the .array() method of the binary argument without regard for 
.arrayOffset(), .position(), or .length()? This would lead to you seeing the 
entire Thrift message that was sent, including frame size and message header.
                
> Framed transport does not work with binary protocol in some case
> ----------------------------------------------------------------
>
>                 Key: THRIFT-1531
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1531
>             Project: Thrift
>          Issue Type: Bug
>            Reporter: Scott Chen
>
> We are seeing that in some case if you use framed transport and binary 
> protocol, the parameter passed to the server side will be corrupted.
> https://issues.apache.org/jira/browse/HBASE-5507
> It can be reproduced by the unit test added in
> https://issues.apache.org/jira/browse/HBASE-5506
> Our server is a java server.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to