Created 12-14-2017 01:12 PM
I got this error:
ERROR: ambari-metrics-collector start failed. For more details, see /var/log/ambari-metrics-collector/ambari-metrics-collector.out: ==================== Erreur : impossible de trouver ou charger la classe principale org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer ====================
Created 12-14-2017 04:00 PM
Could you share the full stacktrace? Maybe it's in ambari-metrics-collector.log. Also if you have non localized exception messages that would be helpful.
Created 12-14-2017 07:07 PM
What I have posted is the only message I got:
resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/sbin/ambari-metrics-collector --config /etc/ambari-metrics-collector/conf start' returned 255. ? ??? 14 18:19:50 WET 2017 Starting HBase. starting master, logging to /var/log/ambari-metrics-collector/hbase-ams-master-datanode1.henceforth.out Verifying ambari-metrics-collector process status... ERROR: ambari-metrics-collector start failed. For more details, see /var/log/ambari-metrics-collector/ambari-metrics-collector.out: ==================== Erreur : impossible de trouver ou charger la classe principale org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer ==================== Collector out at: /var/log/ambari-metrics-collector/ambari-metrics-collector.out
Created 12-14-2017 10:09 PM
The error "impossible de trouver ou charger la classe principale org.apache.hadoop.yarn.server .applicationhistoryservice. ApplicationHistoryServe" show the installation didn't go well could you simply remove the Service Ambari Metrics--->Service Actions---> delete service then confirm "delete"
Remove ambari-metrics-collector package
# yum remove ambari-metrics-collector
Reinstall ambari-metrics-collector
# yum install ambari-metrics-collector
Add the service using Ambari
Start the ambari-metrics-collector using Ambari
Please let me know
Created 12-15-2017 10:02 AM
I'm using ubuntu 14, and the name of the package ambari-metrics-collector not known by ubuntu (Impossible to find ambari-metrics-collector package)??
Created 12-15-2017 07:08 PM
It's important to always describe your environment, this gives members a clearer picture. Having said that if you deleted the service as I had earlier indicated above.
You should be able to add the Ambari Metrics using Ambari UI--->Admin--->Stack and Versions--->Ambari Metrics add service. Make sure you have hbase installed as AMS uses it as for backend storage.
For Ubuntu you could check the availability of the packages as suite
# apt-cache showpkg ambari-server # apt-cache showpkg ambari-agent # apt-cache showpkg ambari-metrics-assembly
Please revert
Created 12-15-2017 08:00 PM
I removed the ambari metrics using Ambari UI, and I add that service but I still get the same error !!
Created 12-15-2017 08:02 PM
I have this alert concerning the ambari metrics:
Connection failed: [Errno 111] Connection refused to datanode1.xxxx:6188
Created 12-16-2017 12:07 AM
AMS collector is not starting please could you check the following logs for any detailed error or warnings:
# less /var/log/ambari-metrics-collector/ambari-metrics-collector.log # less /var/log/ambari-metrics-collector/ambari-metrics-collector.out
Is it possible to share these logs?