Anoop Sam John created HBASE-17012:
--------------------------------------
Summary: Handle Offheap cells in CompressedKvEncoder
Key: HBASE-17012
URL: https://issues.apache.org/jira/browse/HBASE-17012
Project: HBase
Issue Type: Sub-task
Affects Versions: 2.0.0
Reporter: Anoop Sam John
Fix For: 2.0.0
When we deal with off heap cells we will end up copying Cell components on heap
{code}
public void write(Cell cell) throws IOException {
.................
write(cell.getRowArray(), cell.getRowOffset(), cell.getRowLength(),
compression.rowDict);
write(cell.getFamilyArray(), cell.getFamilyOffset(),
cell.getFamilyLength(),
compression.familyDict);
write(cell.getQualifierArray(), cell.getQualifierOffset(),
cell.getQualifierLength(),
compression.qualifierDict);
......
out.write(cell.getValueArray(), cell.getValueOffset(),
cell.getValueLength());
...
{code}
We need to avoid this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)