yonghu 2013-03-11, 11:15
First, you might want to take a look at that:
http://wiki.apache.org/hadoop/Hbase/FAQ_Operations#A1 for the out of
Regardin which size to assign to HBase, take a look at the very short
The more you can give it, the better.
If you have your DataNode and the RegionServer on the same server,
it's usually good to give 1GB to the DN and keep some memory for the
OS (I keep 1GB). Then you can give everything else to HBase. If yo
uare running MR jobs, you might want to keep some memory too for those
process depending one how much they need. But be sure do not give to
much in total else you will swap and performances are going to be VERY
bad. Take a look at the swapiness setting.
all those values need to be adjusted based on your usecase and current
data, You might need more for the DN if you have more files/data, etc.
2013/3/11 yonghu <[EMAIL PROTECTED]>:
> Dear All,
> I wonder how I can set heap size for HBase and what is the suitable
> portion compared to whole memory size?
> And the other question is that how many memory size I need to give to
> Java when I run HBase, as I sometimes got "out of memory" problems.