Skip to content
Advertisement

MRJob: I’m having a client error while using EMR

I’m a newbie in mrjob and EMR and I’m still trying to figure out how things work. So I’m having this error when I’m running my script:

python3 MovieSimilarities.py -r emr --items=ml-100k/u.item ml-100k/u.data > sims2t.txt

JavaScript

Here’s the code:

JavaScript

Here’s the link to get the data: files.grouplens.org/datasets/movielens/ml-100k.zip

I have exported my aws_access_key_id and aws_secret_access_key in my .bashrc and restarted my shell.

I need help to undertand what I’m doing wrong, what does botocore.exceptions.ClientError: An error occurred (ValidationException) when calling the AddJobFlowSteps operation: A job flow that is shutting down, terminated, or finished may not be modified. means ?

Advertisement

Answer

the botocore package is actually deprecated, any since that module relies on the botocore package, that module is now broken. Sorry for the inconvenience.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement