Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> issure about different heapsize on namenode and datanode


Copy link to this message
-
Re: issure about different heapsize on namenode and datanode
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 <[EMAIL PROTECTED]> 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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB