# Accelerate Apache Spark debugging on Amazon EMR with AWS DevOps Agent

DevFeed: [Accelerate Apache Spark debugging on Amazon EMR with AWS DevOps Agent](<https://devfeed.tech/articles/accelerate-apache-spark-debugging-on-amazon-emr-with-aws-devops-agent-49906.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/big-data/accelerate-apache-spark-debugging-on-amazon-emr-with-aws-devops-agent/>)

Author: Kalyan Janaki

Published: 2026-09-01T16:06:44Z

Content type: tutorial

Language: en

Sources: [AWS Big Data Blog](<https://devfeed.tech/sources/aws-big-data-blog.md>)

Topics: [Apache Spark](<https://devfeed.tech/topics/spark.md>), [DevOps](<https://devfeed.tech/topics/devops.md>), [Model Context Protocol](<https://devfeed.tech/topics/model-context-protocol.md>), [debugging](<https://devfeed.tech/topics/debugging.md>), [Amazon CloudWatch](<https://devfeed.tech/topics/amazon-cloudwatch.md>), [Data pipelines](<https://devfeed.tech/topics/data-pipelines.md>), [AWS CloudFormation](<https://devfeed.tech/topics/aws-cloudformation.md>), [AWS IAM](<https://devfeed.tech/topics/aws-iam.md>), [Amazon VPC](<https://devfeed.tech/topics/amazon-vpc.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [agent](<https://devfeed.tech/tags/agent.md>), [amazon-cloudwatch](<https://devfeed.tech/tags/amazon-cloudwatch.md>), [amazon-emr](<https://devfeed.tech/tags/amazon-emr.md>), [amazon-vpc](<https://devfeed.tech/tags/amazon-vpc.md>), [apache-spark](<https://devfeed.tech/tags/apache-spark.md>), [aws-cli](<https://devfeed.tech/tags/aws-cli.md>), [aws-cloudformation](<https://devfeed.tech/tags/aws-cloudformation.md>), [aws-identity-and-access-management-iam](<https://devfeed.tech/tags/aws-identity-and-access-management-iam.md>), [data-pipelines](<https://devfeed.tech/tags/data-pipelines.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [devops](<https://devfeed.tech/tags/devops.md>), [emr](<https://devfeed.tech/tags/emr.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [spark](<https://devfeed.tech/tags/spark.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>)

## AI overview

A tutorial on extending AWS DevOps Agent with an Amazon EMR Spark troubleshooting MCP server over AWS PrivateLink. It demonstrates an agent investigation that traces a deliberately failing Spark job from a CloudWatch alarm to a line-numbered root cause.

## Source excerpt

Extend AWS DevOps Agent to investigate Apache Spark failures on Amazon EMR. This post shows how to register the Apache Spark Troubleshooting Agent for Amazon EMR as a custom MCP capability provider over AWS PrivateLink, so a single agent chat session diagnoses a failing Spark job from an Amazon CloudWatch alarm to a line-numbered root cause.