1.install ambari 2.6.2.2 with hdp 2.6.5 on centos 7
2.install hdfs yarn components
3.try to start yarn
result:
failed to start yarn with error:
Error: Could not find or load main class org.apache.hadoop.yarn.server.resourcemanager.ResourceManager
Could not find or load main class org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer
expectation:
1.locate the reason of occuring this error.
2.solve this problem