Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)
All skills

troubleshoot-spark-job

Diagnose a failed or slow Spark job on AWS and recommend prioritized fixes.

When to use it

You have a failed or slow Spark job run on Glue or EMR and need the root cause, but the error logs alone don't explain it.

For example

You say

Use troubleshoot-spark-job on my Glue job my-etl-job, run jr_abc123. It fails with an out-of-memory error during a join.

You get
  • Root cause diagnosis
  • Prioritized fix recommendations
  • Code change suggestions

How it works

  • Asks you for job identifiers instead of looking them up, so have the job name and run ID ready.
  • Only generates code changes when the diagnosis points to a code-level fix; config-only fixes are given directly.

Before installing

Requires the SageMaker Unified Studio Spark Troubleshooting MCP server (spark-troubleshooting); code fixes also need the Spark Code Recommendation server and your Spark source code.