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

2020-09-15 Thread Viraj Jasani (Jira)


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

Viraj Jasani resolved HBASE-24831.
--
Hadoop Flags: Reviewed
  Resolution: Fixed

> 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)


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

2020-09-02 Thread Guanghao Zhang (Jira)


 [ 
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)