You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Yechao Chen (Jira)" <ji...@apache.org> on 2020/08/07 04:56:00 UTC

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

Yechao Chen created HBASE-24831:
-----------------------------------

             Summary: 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


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)