My JVM heap max is set to 8 GB for the node name for one of my haop clusters. When I control the JVM using the JMX, the indicated maximum signal is constantly changing, as shown in the attached image.
http://highlycaffeinated.com/assets/images/heapmax.png
I see this behavior on only one (the most active) of my how-to clusters. On other clusters, the maximum message level is fixed at a given value. Any ideas why the maximum message size has changed?
Update:
The java version is "1.6.0_20"
The maximum heap value is specified in the hadoop-env.sh file with the following line:
export HADOOP_NAMENODE_OPTS="-Xmx8G -Dcom.sun.management.jmxremote.port=8004 $JMX_SHARED_PROPS"
ps shows:
hadoop 27605 1 99 Jul30 ? 11-07:23:13 /usr/lib/jvm/jre/bin/java -Xmx1000m -Xmx8G
Update 2:
Added the -Xms8G switch to the start command line last night:
export HADOOP_NAMENODE_OPTS="-Xms8G -Xmx8G -Dcom.sun.management.jmxremote.port=8004 $JMX_SHARED_PROPS"
As shown in the image below, the maximum value is still changing, although the pattern seems to have changed.
http://highlycaffeinated.com/assets/images/heapmax2.png
Update 3:
Here's a new graph that also shows Non-Heap max that remains constant:
http://highlycaffeinated.com/assets/images/heapmax3.png
java heap jvm
highlycaffeinated
source share