hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: Build failed in Jenkins: HBase-TRUNK #2439
Date Tue, 15 Nov 2011 06:41:37 GMT
On Mon, Nov 14, 2011 at 10:34 PM, Gaojinchao <gaojinchao@huawei.com> wrote:
>  Look this comments
>  public void testBlockHeapSize() {
>    // We have seen multiple possible values for this estimate of the heap size
>    // of a ByteBuffer, presumably depending on the JDK version.
>    assertTrue(HFileBlock.BYTE_BUFFER_HEAP_SIZE == 64 ||
>               HFileBlock.BYTE_BUFFER_HEAP_SIZE == 80);
> But in https://issues.apache.org/jira/browse/HBASE-4768
>
> We add some code snippets:
>      assertEquals(80, HFileBlock.BYTE_BUFFER_HEAP_SIZE);
>      long byteBufferExpectedSize =
>          ClassSize.align(ClassSize.estimateBase(buf.getClass(), true)
>              + HFileBlock.HEADER_SIZE + size);

You think that broke sizing BlockHeapSize Gao?   You have a fix?

Thanks,
St.Ack

Mime
View raw message