Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.7.5
Description
Since the non managed HDP tarballs are not accessible anymore publicly AMBARI-25599 is an attempt to replace those dependencies of Ambari Metrics with the open source versions.
However, 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
The missing class 'org.apache.commons.configuration.Configuration' is located in 'commons-configuration2' but strangely that is not present in '/usr/lib/ams-hbase/lib/' if the Apache version of HBase is used for the build.
- Investigate why HBase fails to start up ?
- Why is commons-configuration2 lib missing ?
- Integrate the Apache released HBase as back store of Ambari Metrics
Attachments
Issue Links
- links to