Database Reference
In-Depth Information
HADOOP_NAMENODE_OPTS="-Dcom.sun.management.jmxremote.port=8004"
You can also view JMX metrics (in JSON format) gathered by a particular Hadoop dae-
mon by connecting to its
/jmx
web page. This is handy for debugging. For example, you
can view namenode metrics at
http://
namenode-host
:50070/jmx
.
Hadoop comes with a number of metrics sinks for publishing metrics to external systems,
such as local files or the Ganglia monitoring system. Sinks are configured in the
hadoop-
metrics2.properties
file; see that file for sample configuration settings.