ambari-metrics | Apache Ambari Metrics is a sub project of Apache Ambari | Monitoring library

 by   apache Java Version: release-2.0.0-rc1 License: Apache-2.0

kandi X-RAY | ambari-metrics Summary

kandi X-RAY | ambari-metrics Summary

ambari-metrics is a Java library typically used in Performance Management, Monitoring applications. ambari-metrics has build file available, it has a Permissive License and it has low support. However ambari-metrics has 132 bugs and it has 2 vulnerabilities. You can download it from GitHub.

Ambari Metrics System ("AMS") is a system for collecting, aggregating, serving and visualizing daemon and system metrics in Ambari-managed clusters. The original JIRA Epic for Ambari Metrics System can be found here: First official release of AMS was with Ambari 2.0.0. With metrics repro split, the aim is to be able to release the sub-project with separate cadence than Ambari. The Metrics Collector is daemon that receives data from registered publishers (the Monitors and Sinks). The Collector itself is build using Hadoop technologies such as HBase Phoenix and ATS. The Collector can store data on the local filesystem (referred to as "embedded mode") or use an external HDFS (referred to as "distributed mode"). It is a fully distributed collection and aggregation system starting from 2.7.0. Please refer to the wiki for more detailed info:

            kandi-support Support

              ambari-metrics has a low active ecosystem.
              It has 31 star(s) with 64 fork(s). There are 35 watchers for this library.
              It had no major release in the last 6 months.
              ambari-metrics has no issues reported. There are 17 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of ambari-metrics is release-2.0.0-rc1

            kandi-Quality Quality

              ambari-metrics has 132 bugs (9 blocker, 2 critical, 33 major, 88 minor) and 1356 code smells.

            kandi-Security Security

              ambari-metrics has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              ambari-metrics code analysis shows 2 unresolved vulnerabilities (0 blocker, 2 critical, 0 major, 0 minor).
              There are 23 security hotspots that need review.

            kandi-License License

              ambari-metrics is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              ambari-metrics releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              ambari-metrics saves you 20753 person hours of effort in developing the same functionality from scratch.
              It has 40816 lines of code, 2712 functions and 341 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed ambari-metrics and discovered the below as its top functions. This is intended to give you an instant insight into ambari-metrics implemented functionality, and help decide if they suit your requirements.
            • Append metrics
            • Parses container metrics
            • Emits container metrics
            • Constructs the URI for the container metrics
            • Compute a single TimelineClusterMetric
            • Computes the weighted ASCII sum of numeric characters in the given string
            • Computes the UUID of a string
            • Computes the weighted ASCII sum of numeric characters in the given string
            • Initializes the sink
            • Parse hosts array into collection
            • Try to evict all elements from the cache
            • Load truststore
            • Suspend down downsampler
            • Get the metadata for an instance
            • This method iterates over all the elements and stores them in the cache
            • Handles a collection of data points
            • Interpolates missing data on a series
            • Initialize internal cache
            • Initializes the Kafka timer
            • Configures the Flume metrics cache
            • Simplified method
            • Prepare Storm metrics
            • Applies the given TimelineMetrics to this timelineMetric
            • Initialize storm metrics reporter
            • Creates the HttpServer
            • Aggregates metrics with aggregated values
            • Handle data points
            Get all kandi verified functions for this library.

            ambari-metrics Key Features

            No Key Features are available at this moment for ambari-metrics.

            ambari-metrics Examples and Code Snippets

            No Code Snippets are available at this moment for ambari-metrics.

            Community Discussions


            Is there a way to fix Ambari Web build issue?
            Asked 2021-Mar-06 at 05:02

            I am currently setting an Ambari cluster and getting stuck at the ambari-web build stage

            Environment ...


            Answered 2021-Mar-06 at 05:02

            I'm sure you won't be able to do that. Because ambari will need to download the repo from hortonwork. Eventually it will still fail, since there is no public for the hortonwork from 31/01/2021.



            Build Ambari 2.7.5 on Centos 7.8 from sources error
            Asked 2020-Jul-25 at 09:34

            I am following the guide :


            and with this info Ambari 2.7.5 installation failure on CentOS 7 , I managed to overcome the ambari-admin error, but now I am facing a new one :



            Answered 2020-Jul-25 at 07:43

            As you can see in the error, the dependency chain includes at least

            org.apache.phoenix:phoenix-core:jar:, which is accessible at


            And there is no version listed there, which will cause the build to fail without some other location where such packages exist, which I am not aware of any outside of the new Cloudera repo listed in the comments.



            Ambari Web build fails with Error: Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.4:install-node-and-yarn
            Asked 2020-Jun-12 at 00:16

            I followed the instructions on this post:

            Ambari 2.7.5 installation failure on CentOS 7

            Unfortunately, I am still getting an error:



            Answered 2020-Jun-12 at 00:16

            @Dribble. While working on Ambari 2.7.5 for SUSE 12, I ran into the same error. You need to make sure to get maven version right first (Apache Maven 3.3.9 or later).

            The specific package dependency errors are fixed by editing ambari-web/pom.xml and setting the node version to version installed in building operating system.

            Once I did this, the build completed the Ambari Web Steps. You may run into similar dependency failures with other packages. You can see the following recent posts for more details including specific versions:

            Error building ambari 2.7.5 Centos 7 (fails at ambari-admin step)



            Error building ambari 2.7.5 Centos 7 (fails at ambari-admin step)
            Asked 2020-Jun-11 at 22:53

            I am trying to build ambari 2.7.5 on Centos 7 per these instructions, which is relatively straightforward.

            However, when the build gets to ambari-admin, it fails. There are several posts out there that describe a supposed solution to this- which is editing "...ambari-admin/pom.xml" and setting the node and npm versions to match the versions installed on the server.

            Sadly, this does not work for me. And I have tried the versions of node/npm that come with Centos(EPEL), I have tried the LATEST node/npm versions from apache, and I've tried older versions. I edit the pom.xml file to match.

            In the end, it is always the exact same failure regardless of the dozens of attempts using the above.



            Answered 2020-Jun-11 at 22:53

            The solution you are looking for is to edit



            Ambari-metrics-collector service not starting
            Asked 2020-Jun-08 at 19:52

            I have setup Ambari-2.7.5 with below services:

            1. HDFS
            2. YARN
            3. MAPREDUCE2
            4. HBASE
            5. ZOOKEEPER
            6. INFRA SOLR
            7. AMBARI METRICS
            8. ATLAS
            9. KAFKA
            10. KNOX
            11. LOGSEARCH

            All the services are in green state except Ambari Metrics. I have build ambari-metrics-collector rpm using while starting ambari-metrics the process get stuck giving below error



            Answered 2020-Jun-08 at 19:52

            @RohitSharma You should be able to build the correct Ambari Metric RPMS during your ambari 2.7.5 build.

            On the Install Guide for Ambari 2.7.5 are these steps:



            Ambari Admin View build failure
            Asked 2020-May-08 at 06:38

            I am trying to build Ambari RPM from source code. After running this command I am getting error as stated below

            mvn -B clean install rpm:rpm -DnewVersion= -DbuildNumber=5895e4ed6b30a2da8a90fee2403b6cab91d19972 -DskipTests -Dpython.ver="python >= 2.6"




            Answered 2020-May-08 at 06:38

            I have found the solution just by changing the node and npm version in ambari-admin directory.



            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install ambari-metrics

            You can download it from GitHub.
            You can use ambari-metrics like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the ambari-metrics component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer For Gradle installation, please refer .


            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone apache/ambari-metrics

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Monitoring Libraries


            by netdata


            by getsentry


            by apache


            by osquery


            by dianping

            Try Top Libraries by apache


            by apacheTypeScript


            by apacheTypeScript


            by apacheJava


            by apacheScala


            by apachePython