hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Daniel Cryans <jdcry...@apache.org>
Subject Re: HBase put.heapSize()
Date Mon, 03 Oct 2011 17:11:59 GMT
Have you looked at the code? You should also take a look at
TestHeapSize where we compare the estimated size versus the heapSize
and AFAIK it passes.


On Mon, Oct 3, 2011 at 1:18 AM, lakshmi ponnapalli
<lakshmiponnapalli@gmail.com> wrote:
> Hi,
> I noticed that put.heapSize() is bloating data by 10x of the original.
> If I add up the bytes in rowkey, family, columName and columnValue of my
> data in Put object, if it constitutes 1 MB, put.heapSize() for the same is
> 10 MB.
> Wondering which component exactly is causing this overhead and whether there
> is a way to optimize it.
> Let me know if anyone has seen the same behavior.
> Thank you

View raw message