-
Notifications
You must be signed in to change notification settings - Fork 40
Add hive-versions argument to hive-script command #36
Conversation
's3://elasticmapreduce/libs/hive/', | ||
'--install-hive', | ||
'--hive-versions', | ||
'latest' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just fixed indenting here
Hi Michael, Thanks for submitting the issue and pull! Those arguments are present in .aws_installation_step later in the file, a separate step that gets sent up as part of executing a job flow. I've tested this manually and captured it in my integration tests as well so I'm a bit surprised its not working for you. That error message was before the recent 2.x fix when EMR changed that script. Can you let me know how you're using Elasticity? And if you're on the latest point release? Rob |
Hey Rob, I'm using the latest Elasticity 2.4.0 I'm running snowplow ETL job, the code I'm using can be found here https://github.com/snowplow/snowplow/blob/feature/emr-etl-runner/3-etl/emr-etl-runner/lib/emr_jobs.rb I set The installation step (Step 1) seems to complete successfully and installs hive to Step1 controller:
But then Step 2 fails controller:
stdout:
stderr:
What do you think is going on? Am I missing something ? Michael |
I think it's exactly as that poster specified - you're having to be specific because hive-script isn't working as it should (i.e. when there is only one version of Hive installed, use that). I'm toying around a bit with this at the moment. Will have something for you soon. |
Oh Amazon, you salty dog.
Overly specifying this as of cd5cedc :) |
aha! nice find :) |
Or perhaps it is working as it should? This method hasn't been updated for the new(er) versions of hadoop:
You're correct my man, will add in your patch and push a release out tonite. |
Fixed as of bc668b3 |
This solves the issue reported here https://forums.aws.amazon.com/thread.jspa?messageID=350496
The issue is that the hive-script tries to run the wrong version of hive
In log/hadoop/steps/2/stderr I get:
Adding in these arguments works around the issue