Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-24831

Avoid invoke Counter using reflection in SnapshotInputFormat

    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              chenyechao Yechao Chen
              Reporter:
              chenyechao Yechao Chen
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: