Monitor active job drivers for EMR cluster

Monitor active job drivers for EMR cluster

Below is a script to monitor for active EMR job drivers that start with "ClusterJobDriver_". At any given time there should be only one "ClusterJobDriver_" in the running state.

The below script is to calculate the no of active "ClusterJobDriver_ " and notify by email or AWS SNS topic when the count is more than 1.

  • Need to configure AWS region and cluster ID in the script
  • The script assumes aws cli is already setup with the required authentication
  • All the job drivers launched for ingestion or pipeline jobs start with "ClusterJobDriver_".
Copy
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches