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

Move compression/decompression to an encoder specific encoding context

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.95.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      As part of working on HBASE-5313, we want to add a new columnar encoder/decoder. It makes sense to move compression to be part of encoder/decoder:
      1) a scanner for a columnar encoded block can do lazy decompression to a specific part of a key value object
      2) avoid an extra bytes copy from encoder to hblock-writer.

      If there is no encoder specified for a writer, the HBlock.Writer will use a default compression-context to do something very similar to today's code.

        Attachments

          Activity

            People

            • Assignee:
              he yongqiang He Yongqiang
              Reporter:
              he yongqiang He Yongqiang
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: