Prompt Examples - Amazon EMR
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Prompt Examples

Here is a list of prompt examples that can be used in the troubleshooting experience.

1. Troubleshoot Spark job execution failure

EMR on EC2 Troubleshooting:

Troubleshoot my EMR-EC2 step with id s-xxxxxxxxxxxx on cluster j-xxxxxxxxxxxxx

Glue Job Troubleshooting:

Troubleshoot my Glue job with job run id jr_xxxxxxxxxxxxxxxxxxxxxxxxxxxx and job name test_job

EMR Serverless Troubleshooting:

Troubleshoot my EMR-Serverless job run with application id 00xxxxxxxx and job run id 00xxxxxxxx

2. Request for code fix recommendation

Request code fix recommendation for EMR on EC2 job:

Recommend code fix for my EMR-EC2 step with id s-STEP_ID on cluster j-CLUSTER_ID

Request code fix recommendation for Glue job:

Recommend code fix for my Glue job with job run id jr_JOB_RUN_ID and job name test_job