[
https://issues.apache.org/jira/browse/HBASE-26777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17499364#comment-17499364
]
Istvan Toth commented on HBASE-26777:
-------------------------------------
As for the Phoenix patch, it's not strictly necessary if we fix HBase, and
Phoenix does a LOT of copying to heap anyway, but I think it's ultimately
better to refactor in Phoenix as well, especially because that would avoid
Phoenix breaking on Hbase with unfixed HBASE-26777.
Also see PHOENIX-6621 on the heap copy issues.
> 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
> Assignee: Istvan Toth
> Priority: Major
>
> 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)