hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ch huang <justlo...@gmail.com>
Subject issure about different heapsize on namenode and datanode
Date Fri, 18 Oct 2013 07:06:31 GMT
hi,all:
     what i want is allocate different heap size to namenode and datanode
,so i add the following info in hadoop-env.sh file

export HADOOP_NAMENODE_OPTS="-Xmx2048m"

but, i am very confuse about the output of ps , here is two -Xmx option
value ,i do not know which is the real heap size that the namenode
use,anyone can help?

# ps -ef|grep namenode
hdfs     14468     1 36 15:00 ?        00:00:05
/usr/java/jdk1.6.0_35/bin/java -Dproc_namenode
-Xmx1000m-Dhadoop.log.dir=/var/log/hadoop-hdfs
-Dhadoop.log.file=hadoop-hdfs-namenode-CHBM220.log
-Dhadoop.home.dir=/usr/lib/hadoop -Dhadoop.id.str=hdfs
-Dhadoop.root.logger=INFO,RFA
-Djava.library.path=/usr/lib/hadoop/lib/native
-Dhadoop.policy.file=hadoop-policy.xml -Djava.net.preferIPv4Stack=true
-Xmx2048m -Dhadoop.security.logger=INFO,RFAS
org.apache.hadoop.hdfs.server.namenode.NameNode

Mime
View raw message