hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-17647) OffheapKeyValue#heapSize() implementation is wrong
Date Tue, 14 Feb 2017 10:13:41 GMT
Anoop Sam John created HBASE-17647:
--------------------------------------

             Summary: OffheapKeyValue#heapSize() implementation is wrong
                 Key: HBASE-17647
                 URL: https://issues.apache.org/jira/browse/HBASE-17647
             Project: HBase
          Issue Type: Sub-task
            Reporter: Anoop Sam John
            Assignee: Anoop Sam John
             Fix For: 2.0.0


We consider the key and data lengths also even though the data is actually in off heap area.
 We should correct it.
The impact will be at ScannerContext limit tracking where we use heapSize of cells to account
the result size.  So my proposal is to consider the cells length and heap size in Limit tracking
and accounting.  We have a maxResultSize which defaults to 2MB.  When the sum of all cell's
data size reaches 'maxResultSize'  OR the sum of all cell's heap size reaches 'maxResultSize'
, we need to send back the RPC response



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message