Is it possible to pass arguments to your streaming steps in Amazon EMR? There seems to be an “extra args” field but the parameters seems to be passed to the streaming jar and not the streaming script itself.
Is it even possible?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It should just work by including them in your –mapper argument so to pass ‘arg1’ and ‘arg2’ to a mapper app at the location s3://bucket/script you would use the argument:
It might also depend on what client you are using to launch the job. The above works with the ruby elastic-mapreduce client. Of course, you’ll also need to provide other arguments.