How to execute spark submit on amazon EMR from Lambda function?
I want to execute spark submit job on AWS EMR cluster based on the file upload event on S3. I am using AWS Lambda function to capture the event but I have no idea how to submit spark submit job on EMR cluster from Lambda function. Most of the answers that i searched talked about adding a step in the EMR cluster. But I do not know if I can add add any step to fire "spark submit --with args" in the added step. You can, I had to same thing last week! Using boto3 for Python (other languages would definitely have a similar solution) you can either start a cluster with the defined step, or attach a