Uploaded image for project: 'Ambari (Retired)'
  1. Ambari (Retired)
  2. AMBARI-25668

Integrate the Apache released HBase as back store of Ambari Metrics

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              payert Tamas Payer
              payert Tamas Payer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m