hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19496) Reusing the ByteBuffer in rpc layer corrupt the ServerLoad and RegionLoad
Date Tue, 12 Dec 2017 11:54:00 GMT

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

ramkrishna.s.vasudevan commented on HBASE-19496:
------------------------------------------------

I tried removing the byte buffer pool at the response side and seems still I get the issue
that we got prior to HBASE-19461. May be am missing something. 

> Reusing the ByteBuffer in rpc layer corrupt the ServerLoad and RegionLoad
> -------------------------------------------------------------------------
>
>                 Key: HBASE-19496
>                 URL: https://issues.apache.org/jira/browse/HBASE-19496
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Blocker
>             Fix For: 2.0.0-beta-1
>
>
> {{ServerLoad}} and {{RegionLoad}} store the pb object internally but the bytebuffer of
pb object may be reused in rpc layer. Hence, the {{ServerLoad}} and {{RegionLoad}} which saved
by {{HMaster}} will be corrupted if the bytebuffer backed is modified.
> This issue doesn't happen on branch-1.
> # netty server was introduced in 2.0 (see HBASE-17263)
> # reusing bytebuffer to read RPC requests was introduced in 2.0 (see HBASE-15788)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message