You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2022/02/28 15:51:00 UTC
[jira] [Created] (HBASE-26777) BufferedDataBlockEncoder$OffheapDecodedExtendedCell.deepClone throws UnsupportedOperationException
Istvan Toth created HBASE-26777:
-----------------------------------
Summary: BufferedDataBlockEncoder$OffheapDecodedExtendedCell.deepClone throws UnsupportedOperationException
Key: HBASE-26777
URL: https://issues.apache.org/jira/browse/HBASE-26777
Project: HBase
Issue Type: Bug
Components: regionserver
Affects Versions: 2.4.10
Reporter: Istvan Toth
BufferedDataBlockEncoder$OffheapDecodedExtendedCell.deepClone throws an unsupportedException.
However, org.apache.hadoop.hbase.regionserver.HRegion.get(Get, boolean, long, long)
calls the method:
{code:java}
// 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);
} {code}
According to the comment above, this is probably caused by HBASE-26036.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)