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

Hudson commented on HBASE-8782:
-------------------------------

Integrated in hbase-0.95-on-hadoop2 #149 (See 
[https://builds.apache.org/job/hbase-0.95-on-hadoop2/149/])
    HBASE-8782 Thrift2 can not parse values when using framed transport (Hamed 
Madani) (Revision 1496578)

     Result = FAILURE
larsgeorge : 
Files : 
* 
/hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java

                
> Thrift2 can not parse values when using framed transport
> --------------------------------------------------------
>
>                 Key: HBASE-8782
>                 URL: https://issues.apache.org/jira/browse/HBASE-8782
>             Project: HBase
>          Issue Type: Bug
>          Components: Thrift
>    Affects Versions: 0.95.1
>            Reporter: Hamed Madani
>            Assignee: Hamed Madani
>             Fix For: 0.98.0, 0.95.2, 0.94.9
>
>         Attachments: HBASE_8782.patch, HBASE_8782_v2.patch, 
> HBASE_8782_v3.patch, HBASE_8782_v4_0.94.patch, HBASE_8782_v4.patch
>
>
> ThriftHBaseServiceHandler.java use .array() on table names , and values 
> (family , qualifier in checkandDelete , etc) which resulted in incorrect 
> values with framed transport. Replacing .array() with getBytes() fixed this 
> problem. I've attached the patch
> EDIT: updated the patch to cover checkAndPut(), checkAndDelete()
> UPDATE: updated the patch to use *byteBufferToByteArray()* instead of 
> *getBytes()* , also removed unused imports.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to