hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pradeep Gollakota <pradeep...@gmail.com>
Subject Re: issue about datanode memory usage
Date Tue, 10 Dec 2013 07:18:15 GMT
Good question... answer is: it depends. I *think* Oracle JDK applies the
rightmost. See this SO for more info.
http://stackoverflow.com/questions/2740725/duplicated-java-runtime-options-what-is-the-order-of-preference


On Mon, Dec 9, 2013 at 11:14 PM, ch huang <justlooks@gmail.com> wrote:

> hi,maillist:
>            i have a job running very slowly,when i examine cluster,i find
> my hdfs user using 170m swap though top command,that's user run datanode
> daemon ,ps output show following info,there are two -Xmx value ,and i do
> not know which value is the real ,1000m or 10240m
>
> # ps -ef|grep 2853
> root      2095  1937  0 15:06 pts/4    00:00:00 grep 2853
> hdfs      2853     1  5 Nov07 ?        1-22:34:22
> /usr/java/jdk1.7.0_45/bin/java -Dproc_datanode -Xmx1000m
> -Dhadoop.log.dir=/var/log/hadoop-hdfs
> -Dhadoop.log.file=hadoop-hdfs-datanode-ch14.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
> -server -Xmx10240m -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps
> -Xloggc:/var/log/hadoop-hdfs/gc-ch14-datanode.log
> -Dhadoop.security.logger=INFO,RFAS
> org.apache.hadoop.hdfs.server.datanode.DataNode
>

Mime
View raw message