You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Chia-Ping Tsai (JIRA)" <ji...@apache.org> on 2017/03/25 15:43:41 UTC
[jira] [Created] (HBASE-17836) CellUtil#estimatedSerializedSizeOf
is slow when input is ByteBufferCell
Chia-Ping Tsai created HBASE-17836:
--------------------------------------
Summary: CellUtil#estimatedSerializedSizeOf is slow when input is ByteBufferCell
Key: HBASE-17836
URL: https://issues.apache.org/jira/browse/HBASE-17836
Project: HBase
Issue Type: Improvement
Affects Versions: 2.0.0
Reporter: Chia-Ping Tsai
Priority: Minor
Fix For: 2.0.0
We call CellUtil#estimatedSerializedSize to calculate the size of rows when scanning. If the input is ByteBufferCell, the CellUtil#estimatedSerializedSizeOf parses many length components to get the qualifierLength stored in the backing buffer.
We should consider using the KeyValueUtil#getSerializedSize.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)