Reader small image

You're reading from  Monitoring Hadoop

Product typeBook
Published inApr 2015
Publisher
ISBN-139781783281558
Edition1st Edition
Tools
Right arrow
Author (1)
Aman Singh
Aman Singh
author image
Aman Singh

Gurmukh Singh is a seasoned technology professional with 14+ years of industry experience in infrastructure design, distributed systems, performance optimization, and networks. He has worked in big data domain for the last 5 years and provides consultancy and training on various technologies. He has worked with companies such as HP, JP Morgan, and Yahoo. He has authored Monitoring Hadoop by Packt Publishing
Read more about Aman Singh

Right arrow

Hadoop metrics


In Hadoop, there are many daemons running, such as DataNode, NameNode, and JobTracker; each of these daemons captures a lot of information about the components they work on. Similarly, in the YARN framework, we have ResourceManager, NodeManager, and ApplicationManager, each of which exposes metrics, explained in the following sections under Metrics2. For example, DataNode collects metrics such as the number of blocks it has for advertising to the NameNode, the number of replicated blocks, and metrics about read/writes from clients. In addition to this, there could be metrics related to events, and so on. Hence, it is very important to gather them for the working of the Hadoop cluster and for debugging, if something goes wrong.

Therefore, Hadoop has a metrics system for collecting all this information. There are two versions of the metrics system, metrics and Metrics2 for Hadoop 1.x and Hadoop 2.x, respectively. The hadoop-metrics.properties and hadoop-metrics2.properties files...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Monitoring Hadoop
Published in: Apr 2015Publisher: ISBN-13: 9781783281558

Author (1)

author image
Aman Singh

Gurmukh Singh is a seasoned technology professional with 14+ years of industry experience in infrastructure design, distributed systems, performance optimization, and networks. He has worked in big data domain for the last 5 years and provides consultancy and training on various technologies. He has worked with companies such as HP, JP Morgan, and Yahoo. He has authored Monitoring Hadoop by Packt Publishing
Read more about Aman Singh