惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

雷峰网
雷峰网
MongoDB | Blog
MongoDB | Blog
D
Docker
Martin Fowler
Martin Fowler
人人都是产品经理
人人都是产品经理
GbyAI
GbyAI
Jina AI
Jina AI
酷 壳 – CoolShell
酷 壳 – CoolShell
M
MIT News - Artificial intelligence
腾讯CDC
阮一峰的网络日志
阮一峰的网络日志
H
Hackread – Cybersecurity News, Data Breaches, AI and More
N
Netflix TechBlog - Medium
B
Blog RSS Feed
云风的 BLOG
云风的 BLOG
Blog — PlanetScale
Blog — PlanetScale
Vercel News
Vercel News
The Cloudflare Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
有赞技术团队
有赞技术团队
G
Google Developers Blog
Stack Overflow Blog
Stack Overflow Blog
I
InfoQ
U
Unit 42

Datadog | The Monitor blog

Introducing our open source AI-native SAST Instrument and monitor Boomi integration flows with OpenTelemetry and Datadog Not all index scans are equal: How we cut query latency by over 99% Platform engineering metrics: What to measure and what to ignore Integrate Recorded Future threat intelligence with Datadog Cloud SIEM CI/CD security: threat modeling using a MITRE-style threat matrix CI/CD security: How to secure your GitHub ecosystem Ingress NGINX is EOL: A practical guide for migrating to Kubernetes Gateway API Operating agentic AI with Amazon Bedrock AgentCore and Datadog LLM Observability: Lessons from NTT DATA Introducing the Datadog Code Security MCP Capture and analyze custom heatmaps in Session Replay Understand session replays faster with AI summaries and smart chapters Monitor ClickHouse query performance with Datadog Database Monitoring How we designed empathetic alert sounds for on-call engineers Search and act across Datadog to resolve issues faster with Bits Assistant Measure the business impact of every product change with Datadog Experiments Analyzing round trip query latency Configuring JavaScript caches for better performance Introducing Bits AI Dev Agent for Code Security Datadog achieves ISO 42001 certification for responsible AI Monitor Nutanix clusters, hosts, and VMs with Datadog Monitor Juniper Mist in Datadog A new Host Map for modern infrastructure Annotate traces to improve LLM quality with Datadog LLM Observability What’s new in Cloud SIEM: AI-powered investigations, enhanced threat intelligence, and scalable security operations Explore Kubernetes with native OpenTelemetry data Monitor Oracle Fusion Cloud Applications with Datadog Announcing the Datadog Terraform provider v4.0.0 Scaling Kubernetes workloads on custom metrics How to design cloud environments for AI-powered threat analysis
Monitor Apache Ambari with Datadog
Jordan Obey · 2019-07-22 · via Datadog | The Monitor blog

Apache Ambari is an open source management tool that helps organizations operate Hadoop clusters at scale. Ambari provides a web UI and REST API to help users configure, spin up, and monitor Hadoop clusters with one centralized platform.

As your Hadoop deployment grows in size and complexity, you need deep visibility into your clusters as well as the Ambari servers that manage them. If issues arise in Ambari, it can lead to problems in your data pipelines and cripple your ability to manage clusters. With Datadog’s new integration, you can monitor the performance of your Ambari servers along with Hadoop and other technologies in your stack, such as Apache Spark and PostgreSQL.

a customizable Ambari dashboard

Datadog’s Ambari integration includes an out-of-the-box dashboard that displays key resource utilization metrics from your Ambari servers, such as memory, disk space, load averages, and more. Datadog automatically tags Ambari metrics by Ambari cluster, service, and component so you can easily drill down to the parts of your infrastructure you’re most interested in.

You can also customize dashboards to include metrics from related components of your infrastructure. For example, you can visualize data from Hadoop next to incoming metrics from the backend database your Ambari servers are using (PostgreSQL, by default) to help discover and troubleshoot issues as they occur.

Track Ambari resource availability to troubleshoot performance issues

If your Ambari servers are exhibiting performance issues (e.g., the web UI has become slow and unresponsive), you can correlate load averages with other resource metrics from your Ambari servers to see if a resource deficit is the cause of the slowdown. If load averages are higher than usual while available resources are low, your systems could be overloaded.

ambari timeseries with low memory and high system load averages

You can set up threshold or machine-learning-driven alerts on your Ambari servers’ resource availability so you can take preemptive action before users are affected. For example, create an alert to automatically notify you if available memory drops below a specified level. This can give you time to follow the steps mentioned in Ambari’s documentation to adjust server heap size to accommodate the size of your cluster and increase memory before your system slows.

triggered ambari low memory alert

If memory is available but the web UI is still unresponsive, it may indicate that Ambari’s database is nearing capacity. Ambari uses a database to store cluster data like service configuration and state. Datadog integrates with all of the database backends Ambari supports, including PostgreSQL, MySQL, and Oracle. This makes it easy to monitor your Ambari database backend alongside the overall health of your Ambari servers. If the database is near capacity, you can clear it of historical data by stopping the server and running a db-purge-history CLI command to help improve Ambari performance.

Dig deeper with logs

To get even more granular insights into your Ambari deployment, you can configure Datadog to collect Ambari logs, including:

  • audit logs, which record permissions-related data, including users, the actions they perform, and their cluster roles

  • server logs, which record configuration data, active processes, and errors from your servers

  • alert logs, which record Ambari alerts on disk space, server performance, and connection issues

You can view Ambari logs in Datadog’s Log Explorer or use a log stream widget to view them directly in your Ambari dashboard.

include logs with ambari metrics

Once you’re using Datadog to aggregate and monitor metrics and logs from your Ambari servers and related services, you can navigate across all of these sources of data to get a clearer picture of performance. For instance, you can monitor the health and performance of Ambari’s backend database in one dashboard, and then pivot to the relevant logs to pinpoint the likely root of an issue.

Configure Datadog to collect Ambari-managed Hadoop metrics

Ambari Metrics System automatically collects metrics from the Hadoop components it manages. Now, you can monitor all that data in Datadog—without installing the Datadog Agent directly on all of the servers Ambari manages.

To configure the Agent to automatically bring in metrics and/or service checks from Ambari-managed Hadoop components, specify the names of the services and components in the services section of your Ambari integration configuration file in the following format:

services:

<SERVICE_NAME_1>:

<COMPONENT_NAME_1>:

- METRIC_HEADER_1

- METRIC_HEADER_2

<SERVICE_2>:

<COMPONENT_NAME_2>: []

[ ]

Note that if you do not specify any metrics for a component (e.g., <COMPONENT_NAME_2> above), the integration will only collect a status check from Ambari.

To collect metrics from YARN’s NodeManager and MapReduce’s Job History Server, for example, name YARN and MAPREDUCE as services and NODEMANAGER and JOBHISTORYSERVER as components, as shown below. Then under each component, list the metrics and/or status checks you want to collect.

services:

YARN:

NODEMANAGER:

- cpu

- disk

- load

- memory

- network

- process

YARNCLIENT: []

MAPREDUCE:

JOBHISTORYSERVER:

- BufferPool

- Memory

- jvm

Ambari’s remote cluster management page displays the names of all of the services and/or components it manages. You can also query Ambari’s REST API for this information. To see a list of HDFS components that Ambari is managing, for example, you could send the following request where <AMBARI_SERVER> and <CLUSTER_NAME> represent the names of your Ambari server and cluster respectively:

http://<AMBARI_SERVER>:8080/api/v1/clusters/<CLUSTER_NAME>/services/HDFS/components

Once you’ve configured the Datadog Agent to collect data from Ambari Metrics System, you’ll be able to monitor all of these components alongside the rest of your infrastructure.

Monitoring Ambari and the rest of your stack in one place

With Datadog’s Apache Ambari integration, you’ll have real-time visibility into Ambari’s resource usage and availability, allowing you to troubleshoot performance issues. Datadog integrates with more than 1,000 technologies—including Hadoop, Spark, Yarn, PostgreSQL, and other services that you’re running alongside Ambari—so you can get unified insights across every component of your dynamic big data architecture.

If you aren’t already using Datadog, get started with a 14-day free trial.