hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravi Prakash <ravi...@ymail.com>
Subject Re: issure about different heapsize on namenode and datanode
Date Fri, 18 Oct 2013 15:10:07 GMT
Hi!

You can go to the JMX page: http://<namenode>:50070/jmx to find out what the Heap Memory
and usage is. Yes we know that there is a problem in the scripts. I believe its being handled
as part of https://issues.apache.org/jira/browse/HADOOP-9902





On Friday, October 18, 2013 2:07 AM, ch huang <justlooks@gmail.com> wrote:
 
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