hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhihong Yu (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5507) ThriftServerRunner.HbaseHandler.getRegionInfo() and getTableRegions() do not use ByteBuffer correctly
Date Mon, 05 Mar 2012 17:25:59 GMT

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

Zhihong Yu commented on HBASE-5507:
-----------------------------------

@Scott:
I assume the fix should also go to 0.94 branch.
{code}
2 out of 3 hunks FAILED -- saving rejects to file src/main/java/org/apache/hadoop/hbase/thrift/ThriftServerRunner.java.rej
patching file src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServer.java
Hunk #1 succeeded at 420 (offset -9 lines).
patching file src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java.rej
{code}
Can you prepare a patch that applies to 0.94 cleanly ?

Thanks
                
> ThriftServerRunner.HbaseHandler.getRegionInfo() and getTableRegions() do not use ByteBuffer
correctly
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5507
>                 URL: https://issues.apache.org/jira/browse/HBASE-5507
>             Project: HBase
>          Issue Type: Bug
>          Components: thrift
>            Reporter: Scott Chen
>            Assignee: Scott Chen
>             Fix For: 0.94.0
>
>         Attachments: HBASE-5507.D2073.1.patch, HBASE-5507.D2073.2.patch, HBASE-5507.D2073.3.patch
>
>
> We observed that when with "framed transport" option. The thrift call ThriftServerRunner.HbaseHandler.getRegionInfo()
receives corrupted parameter (some garbage string attached to the beginning). This may be
a thrift bug requires further investigation.

--
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

        

Mime
View raw message