Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-13291 Lift the scan ceiling
  3. HBASE-13754

Allow non KeyValue Cell types also to oswrite

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • Scanners
    • None
    • Reviewed
    • Hide
      This jira has removed the already deprecated method
      KeyValue#oswrite(final KeyValue kv, final OutputStream out)
      Show
      This jira has removed the already deprecated method KeyValue#oswrite(final KeyValue kv, final OutputStream out)

    Description

      While making the cellblock for returning data to client, we have to write the cell data into an OutputStream. KeyValue has a static oswrite() method with which it can write data in one go. (KeyValue components are in a single byte[]). For other cell implementation, we will call getXXXLength() and getXXXArray() and write each component one after the other. This is not efficient as the KeyValue way. In fact other cell impls also may have one contigous byte[] backing for keys atleast. (See ClonedSeekerState) We can optimize for such Cells also.

      Attachments

        1. HBASE-13754_V2.patch
          12 kB
          Anoop Sam John
        2. HBASE-13754_V3.patch
          12 kB
          Anoop Sam John
        3. HBASE-13754_V4.patch
          12 kB
          Anoop Sam John
        4. HBASE-13754.patch
          11 kB
          Anoop Sam John

        Issue Links

          Activity

            People

              anoop.hbase Anoop Sam John
              anoop.hbase Anoop Sam John
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: