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

Make use of ExtendedCell#write(OutputStream os) for the default HFileWriter#append()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • None
    • None
    • Reviewed

    Description

      Initially this I was thinking we need to add an interface to represent the fact that the key is contiguous. But since Extendedcell is added encapsulating all the internal interfaces and adds a write(OutputStream , boolean) and tries to exploit the fact that the Cell is in KV serialized format. Hence we can make use of it in HFileWriter#append() code in case of No encoding case.

      Attachments

        1. HBASE-16784_1.patch
          3 kB
          ramkrishna.s.vasudevan
        2. HBASE-16784_2.patch
          3 kB
          ramkrishna.s.vasudevan
        3. HBASE-16784_3.patch
          3 kB
          ramkrishna.s.vasudevan
        4. HBASE-16784.patch
          2 kB
          ramkrishna.s.vasudevan

        Activity

          People

            ram_krish ramkrishna.s.vasudevan
            ram_krish ramkrishna.s.vasudevan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: