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

BufferedDataBlockEncoder$OffheapDecodedExtendedCell.deepClone throws UnsupportedOperationException

    XMLWordPrintableJSON

Details

    Description

      BufferedDataBlockEncoder$OffheapDecodedExtendedCell.deepClone throws an unsupportedException.

      However, org.apache.hadoop.hbase.regionserver.HRegion.get(Get, boolean, long, long)

      calls the method:

            // Copy EC to heap, then close the scanner.
            // This can be an EXPENSIVE call. It may make an extra copy from offheap to onheap buffers.
            // See more details in HBASE-26036.
            for (Cell cell : tmp) {
              results.add(cell instanceof ByteBufferExtendedCell ?
                ((ByteBufferExtendedCell) cell).deepClone(): cell);
            } 

      According to the comment above, this is probably caused by HBASE-26036.

       

      Attachments

        1. repro_with_revert.patch
          17 kB
          Istvan Toth

        Issue Links

          Activity

            People

              stoty Istvan Toth
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: