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

Avoid invoke Counter using reflection in SnapshotInputFormat

    XMLWordPrintableJSON

Details

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: