hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Chen (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5506) Add unit test for ThriftServerRunner.HbaseHandler.getRegionInfo()
Date Fri, 02 Mar 2012 18:55:59 GMT

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

Scott Chen commented on HBASE-5506:
-----------------------------------

Ted: 
Yes, that's the bug.

The parameter should be
{code}
tableA,rowA,99999999999999\x0
{code}
But we are seeing some string attach to it and this is causing the failure
{code}
\x80\x01\x00\x01\x00\x00\x00\x0DgetRegionInfo\x00\x00\x00\x12\x0B\x00\x01\x00\x00\x00\x1AtableA,rowA,99999999999999\x0
{code}

Thanks for the review Ted, Stack and Dhruba!
                
> Add unit test for ThriftServerRunner.HbaseHandler.getRegionInfo()
> -----------------------------------------------------------------
>
>                 Key: HBASE-5506
>                 URL: https://issues.apache.org/jira/browse/HBASE-5506
>             Project: HBase
>          Issue Type: Test
>            Reporter: Scott Chen
>            Assignee: Scott Chen
>            Priority: Minor
>             Fix For: 0.96.0
>
>         Attachments: HBASE-5506.D2031.1.patch, HBASE-5506.D2031.2.patch, HBASE-5506.D2031.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.
> Add a unit test to reproduce the problem.

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