Cloudera manager reported bad heath for some of the nodes on the cluster.
On further investigation I found that the agent is running on the host and
the log file of the agent has a message stating unable to connect to
TaskTracker with URL http://127.0.0.1:4687. BTW, the task tracker is
running on the host.
The entire cluster was deployed using cloudera manager and I am observing
this problem only on few nodes. The hadoop version is cdh4.0.1