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

ZeroCopyLiteralByteString.wrap() should be used in place of ByteString.copyFrom()

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.98.0
    • None
    • None
    • Reviewed

    Description

      The following classes use ByteString.copyFrom() which should be replaced with ZeroCopyLiteralByteString.wrap() :

      hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableSnapshotInputFormat.java
      hbase-server/src/main/java/org/apache/hadoop/hbase/codec/MessageCodec.java

      Attachments

        1. 9994-v1.txt
          3 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: