Error: Could not find or load main class org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer when starting Ambari Matrices

Ambari Metrics collector getting failed when try to start

# su - ams
$ /usr/sbin/ambari-metrics-collector --config /etc/ambari-metrics-collector/conf start
Wed Sep  6 10:19:58 IST 2017 Starting HBase.
master is running as process 136289. Continuing
master running as process 136289. Stop it first.
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:
====================
Error: Could not find or load main class org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer
====================
Check if /usr/lib/ambari-metrics-collector/ambari-metrics-timelineservice-x.x.x.jar 
path exist, if not:
# yum remove ambari-metrics-collector
# yum install ambari-metrics-collector
Then check if path present as this jar file contains class
org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer
0 Comments

There are no comments yet

Leave a comment

Your email address will not be published. Required fields are marked *