[
https://issues.apache.org/jira/browse/HBASE-5506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13220729#comment-13220729
]
Phabricator commented on HBASE-5506:
------------------------------------
sc has commented on the revision "HBASE-5506 [jira] Add unit test for
ThriftServerRunner.HbaseHandler.getRegionInfo()".
@stack: I add some exclude conditions to make the test pass (see the inline
comments). If we remove those the test will fail. Is this the right way to do?
What do you think?
INLINE COMMENTS
src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java:95
if we comment this, the test will fail.
REVISION DETAIL
https://reviews.facebook.net/D2031
BRANCH
test-getregioninfo
> 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
> 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