hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Holstad (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1562) How to handle the setting of 32 bit versus 64 bit machines
Date Mon, 22 Jun 2009 18:10:07 GMT

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

Erik Holstad commented on HBASE-1562:
-------------------------------------

@Purtell
Can you put this in some testcode and see what you get?

Properties sysProps = System.getProperties();
System.out.println("arc " + sysProps.getProperty("sun.arch.data.model"));

@Stack, haha yeah that is a great pointer. The reason that we are seeing some of these problems
are the code taken from Derby used to decide the arc size, but
we can make this much better if we don't need to run gc and try to figure it out that way,
just want to see what result Andrew gets.



> 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
>
>
> 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.


Mime
View raw message