vakulamariann opened a new pull request #3305:
URL: https://github.com/apache/ambari/pull/3305


   ## What changes were proposed in this pull request?
   Since the non managed HDP tarballs are not accessible anymore publicly 
AMBARI-25599 was an attempt to replace those dependencies of Ambari Metrics 
with the open source versions. After AMBARI-25599 the Apache version of HBase ( 
 https://archive.apache.org/dist/hbase/2.0.2/hbase-2.0.2-bin.tar.gz  ) does not 
starting up and failing with:
   
   ```
   [root@c7401 ambari-metrics-collector]# less 
hbase-ams-master-c7401.ambari.apache.org.log
   2021-02-10 08:19:01,953 ERROR [main] master.HMasterCommandLine: Master 
exiting
    java.lang.NoClassDefFoundError: 
org/apache/commons/configuration/Configuration
    at 
org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.<init>(DefaultMetricsSystem.java:38)
    at 
org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.<clinit>(DefaultMetricsSystem.java:36)
    at 
org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:159)
    at 
org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:140)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
    at 
org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:149)
    at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2964)
    Caused by: java.lang.ClassNotFoundException: 
org.apache.commons.configuration.Configuration
   ```
   This error was caused by the lack of a few jar files.
   
   This modification includes copying the missing jar files to the proper 
location. After this modification the Ambari metrics can start if the Metrics 
Service operation mode is embedded.
   
   ## How was this patch tested?
   Manual tests


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to