Closed mreid-moz closed 8 years ago
I haven't tested yet, so I'm not 100% confident in the multi-layered bash escaping, but it should work.
r? @vitillo
Looks good, could you also apply the same fix to the Spark side of things?
Added some code to notify if the aws emr create-cluster command encounters an error, or if the launch_worker command exits with any error. We should apply a similar fix to batch.sh over in the emr-bootstrap-spark repo.
aws emr create-cluster
launch_worker
emr-bootstrap-spark
I haven't tested yet, so I'm not 100% confident in the multi-layered bash escaping, but it should work.