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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: Scanners
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      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

            • Assignee:
              anoop.hbase Anoop Sam John
              Reporter:
              anoop.hbase Anoop Sam John

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment