hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17836) CellUtil#estimatedSerializedSizeOf is slow when input is ByteBufferCell
Date Sun, 30 Apr 2017 22:23:06 GMT

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

Hudson commented on HBASE-17836:
--------------------------------

ABORTED: Integrated in Jenkins build HBase-HBASE-14614 #190 (See [https://builds.apache.org/job/HBase-HBASE-14614/190/])
HBASE-17836 CellUtil#estimatedSerializedSizeOf is slow when input is (chia7712: rev 1a701ce44484f45a8a07ea9826b84f0df6f1518e)
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/SplitLogTask.java
* (edit) hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java


> 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
>            Assignee: Chia-Ping Tsai
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE-17836.v0.patch, HBASE-17836.v1.patch
>
>
> 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)

Mime
View raw message