Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.2.5
-
None
-
None
Description
Datasources should be added to gmetad.conf only for the installed components
Aug 5 09:39:49 host1 /usr/sbin/gmetad55660: data_thread() got no answer from any HDPHBaseMaster datasource Aug 5 09:39:54 host1 /usr/sbin/gmetad55660: data_thread() for HDPResourceManager failed to contact node *..... Aug 5 09:39:54 host1 /usr/sbin/gmetad55660: data_thread() got no answer from any HDPResourceManager datasource Aug 5 09:39:57 host1 /usr/sbin/gmetad55660: data_thread() for HDPHistoryServer failed to contact node * Aug 5 09:39:57 host1 /usr/sbin/gmetad55660: data_thread() got no answer from any HDPHistoryServer datasource Aug 5 09:40:05 host1 /usr/sbin/gmetad55660: data_thread() for HDPHBaseMaster failed to contact node * On our Ambari host, I see in /etc/ganglia/hdp/gmetad.conf the following data sources configured: root@host1 hdp# grep data_source gmetad.conf | grep -v ^# data_source "HDPSlaves" host1:8660 data_source "HDPNameNode" host1:8661 data_source "HDPJobTracker" host1:8662 data_source "HDPHBaseMaster" host1:8663 data_source "HDPResourceManager" host1:8664 data_source "HDPHistoryServer" host1:8666 But, doing a listing in that directory shows configs only for the first three: root@host1 hdp# ls -l total 20 rw-rr-. 1 root root 6159 Aug 6 07:09 gmetad.conf drwxr-xr-x. 3 root hadoop 4096 Jul 18 17:40 HDPJobTracker drwxr-xr-x. 3 root hadoop 4096 Jul 18 17:40 HDPNameNode drwxr-xr-x. 3 root hadoop 4096 Jul 18 17:39 HDPSlaves