hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duo Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18081) The way we process connection preamble in SimpleRpcServer is broken
Date Fri, 19 May 2017 13:48:04 GMT

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

Duo Zhang commented on HBASE-18081:
-----------------------------------

I think we should read 6 bytes first if we haven't read preamble yet, just like what the NettyRpcServer
do. Will prepare a patch soon.

> The way we process connection preamble in SimpleRpcServer is broken
> -------------------------------------------------------------------
>
>                 Key: HBASE-18081
>                 URL: https://issues.apache.org/jira/browse/HBASE-18081
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Duo Zhang
>         Attachments: HBASE-18081-testcase.patch
>
>
> Though very rare, but if the preamble is not sent at once, the logic will be broken.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message