JMX is the technology used by Java to build, monitor, and manage distributed systems and network applications. It has been incorporated into Java from J2SE platform 5.0. For more information about JMX, please visit the official website at http://www.oracle.com/technetwork/java/javase/tech/javamanagement-140525.html. In this recipe, we will outline steps to configure Hadoop cluster monitoring with JMX.
Tip
In this chapter, we assume to monitor Hadoop Version 1.1.y or the corresponding 0.20.x Hadoop release. Configurations for monitoring Hadoop Versions 2.0.x or 0.23.x should follow the recipe with some changes.
We assume that Oracle JDK has been installed, and our Hadoop cluster has been configured properly, and all the daemons are running without any problems.