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

Anoop Sam John commented on HBASE-18081:
----------------------------------------

bq.What if preamble bytes itself comes with a halt in btw, May be how the data 
part been read (even in multiple reads it comes in) way is needed for the 
preamble processing also?
I was saying this way only..  
Patch looks good.

> 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
>          Components: IPC/RPC
>    Affects Versions: 2.0.0, 1.4.0, 1.3.1, 1.2.5, 1.1.10
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>             Fix For: 2.0.0, 1.4.0, 1.2.6, 1.3.2, 1.1.11
>
>         Attachments: HBASE-18081-branch-1.2.patch, 
> HBASE-18081-branch-1.3.patch, HBASE-18081-branch-1.patch, HBASE-18081.patch, 
> 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)

Reply via email to