Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-9428 Regex filters are at least an order of magnitude slower since 0.94.3
  3. HBASE-9711

Improve HBASE-9428 - avoid copying bytes for RegexFilter unless necessary

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.98.0, 0.96.0, 0.94.13
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Parent patch copies input for RegexFilter unconditionally.
      We should only do this if the KV portion into the passed byte[] is < 1/2 of the passed byte[]. Otherwise we waste cycles.
      Patch is trivial and will be coming momentarily.

        Attachments

        1. 9711-trunk.txt
          1 kB
          Lars Hofhansl

          Activity

            People

            • Assignee:
              larsh Lars Hofhansl
              Reporter:
              larsh Lars Hofhansl
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: