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/24 19:52:07 UTC

[jira] Updated: (HBASE-1562) How to handle the setting of 32 bit versus 64 bit machines

     [ https://issues.apache.org/jira/browse/HBASE-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erik Holstad updated HBASE-1562:
--------------------------------

    Attachment: HBASE-1562-v1.patch

Tested this in 32 and 64 bit JVM and it passes in both. Might have to sit down with Jon to make better test for the blockcache after hi is ready and with Ryan and look at Blockindex, since it is kinda hard to test as it is right now.

> How to handle the setting of 32 bit versus 64 bit machines
> ----------------------------------------------------------
>
>                 Key: HBASE-1562
>                 URL: https://issues.apache.org/jira/browse/HBASE-1562
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>            Reporter: Erik Holstad
>            Assignee: Erik Holstad
>             Fix For: 0.20.0
>
>         Attachments: HBASE-1562-v1.patch
>
>
> After adding the tests to verify the correctness of the HeapSize calculations the question of where to set the type of machines that are in the cluster arose.
> I would think that most people are using 64 bit machines but we still need to support the use of 32 bit. So the way I see it we can solve this problem in two ways,
> we can either have a settable parameter the the user sets when starting up the cluster or we can try to figure it out ourselves. I think that the second solution would
> be the best, to make it as easy as possible on the user. 
> That means that we need to add extra sizes to HeapSize and maybe even to Bytes.
> Thoughts, comments?

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