You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Guanghao Zhang (Jira)" <ji...@apache.org> on 2020/09/02 09:25:00 UTC

[jira] [Resolved] (HBASE-24831) Avoid invoke Counter using reflection in SnapshotInputFormat

     [ https://issues.apache.org/jira/browse/HBASE-24831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guanghao Zhang resolved HBASE-24831.
------------------------------------
    Fix Version/s: 2.3.2
                   2.4.0
                   3.0.0-alpha-1
       Resolution: Fixed

Pushed to branch-2.3+. Thanks [~chenyechao] for contributing.

> Avoid invoke Counter using reflection  in SnapshotInputFormat
> -------------------------------------------------------------
>
>                 Key: HBASE-24831
>                 URL: https://issues.apache.org/jira/browse/HBASE-24831
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Yechao Chen
>            Assignee: Yechao Chen
>            Priority: Major
>              Labels: Performance, mapreduce, snapshot
>             Fix For: 3.0.0-alpha-1, 2.4.0, 2.3.2
>
>
> In TableRecordReaderImpl we invoke Counter increment by reflection
> This will be called nextKeyValue() in TableSnapshotInputFormat 
> reflection invoke is very slower than normal method call
> we can avoid these to improve the read performance



--
This message was sent by Atlassian Jira
(v8.3.4#803005)