You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Erik Holstad (JIRA)" <ji...@apache.org> on 2009/06/21 03:26:07 UTC

[jira] Commented: (HBASE-1554) ClassSize fails TestHeapSize and TestHFile on Hudson

    [ https://issues.apache.org/jira/browse/HBASE-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12722284#action_12722284 ] 

Erik Holstad commented on HBASE-1554:
-------------------------------------

All the issues are related to the fact that there is no place to set if you are running 32 or 64 bit machines at the moment and
this is needed for the test to pass.

The tests are done in Classsize, but not in HeapSize, so we just need to find a good place to put this and some smaller changes
to the tests and we should be good to go.

Erik

> ClassSize fails TestHeapSize and TestHFile on Hudson
> ----------------------------------------------------
>
>                 Key: HBASE-1554
>                 URL: https://issues.apache.org/jira/browse/HBASE-1554
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: Andrew Purtell
>            Priority: Critical
>             Fix For: 0.20.0
>
>
> TestHeapSize worked for me when tested locally but failing up on Hudson:
> {code}
>     [junit] Running org.apache.hadoop.hbase.io.TestHeapSize
>     [junit] 2009-06-20 01:29:11,577 DEBUG [main] util.ClassSize(121): bytes
>     [junit] 	class [B
>     [junit] 2009-06-20 01:29:11,580 DEBUG [main] util.ClassSize(121): offset
>     [junit] 	int
>     [junit] 2009-06-20 01:29:11,580 DEBUG [main] util.ClassSize(121): length
>     [junit] 	int
>     [junit] 2009-06-20 01:29:11,581 DEBUG [main] util.ClassSize(147): Primitives 8, arrays 1, references(inlcuding 16, for object overhead) 2, refSize 4, size 32
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.181 sec
>     [junit] Test org.apache.hadoop.hbase.io.TestHeapSize FAILED
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.