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

Optimize write(OutputStream out, boolean withTags) for SizeCachedNoTagsKeyValue

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      We can override this method in SizeCachedNoTagsKeyValue. KeyValue impl do value length parsing and do some maths to find length with out tags length. In SizeCachedNoTagsKeyValue we know there are no tags. Same optimize we did in NoTagsKeyValue. But I missed to do it in SizeCachedNoTagsKeyValue.

        Attachments

        1. HBASE-14001.patch
          1 kB
          Anoop Sam John

          Activity

            People

            • Assignee:
              anoop.hbase Anoop Sam John
              Reporter:
              anoop.hbase Anoop Sam John
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: