Tamas Payer created AMBARI-25668:
------------------------------------
Summary: Integrate the Apache released HBase as back store of
Ambari Metrics
Key: AMBARI-25668
URL: https://issues.apache.org/jira/browse/AMBARI-25668
Project: Ambari
Issue Type: Task
Components: ambari-metrics
Affects Versions: 2.7.5
Reporter: Tamas Payer
Fix For: 2.7.6
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:
{code:java}
[root@c7401 ambari-metrics-collector]# less
hbase-ams-master-c7401.ambari.apache.org.log{code}
{code:java}
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{code}
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*
--
This message was sent by Atlassian Jira
(v8.3.4#803005)