- This script demonstrates something similar to what Apache Ambari does to get the individual component metrics.
- It shows how use the "urllib2" and "json" (simplejson) module of python to fetch JSON based namenode metrics with the help of Ambari Rest APIs.