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

Improve SizeCachedKV variants initialization

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha-1, 2.3.4, 2.5.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently in SizeCachedKV we get the rowlength and Key length from the buffers. This can be optimized because we can pass the keylen and row len while actually creating the cell while reading the cell from the block. Some times we see that the SizeCachedKV takes the max width in a flame graph - considering the fact we also do a sanity check on the created KV.

        Attachments

          Activity

            People

            • Assignee:
              ram_krish ramkrishna.s.vasudevan
              Reporter:
              ram_krish ramkrishna.s.vasudevan
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: