flexera-public / right_aws

RightScale Amazon Web Services Ruby Gems
MIT License
451 stars 175 forks source link

right_emr_interface error #150

Closed l1x closed 11 years ago

l1x commented 11 years ago

Hey,

I am trying to provision EMR jobs with right_aws and the following problem occurs:

http://cl.ly/image/2W2x0l0t1v1N

I can provision similar cluster with elactic-mapreduce-ruby:

http://cl.ly/image/3q402f3t1O2n

It seems there is something with the quoting around the parameters (arguments) passed to the Hive provisioning.

Have you seen ever like that?

l1x commented 11 years ago

The issue was the argument section. Here is how it works:

        :steps => [{
          :name => "Setup Hive",
          :action_on_failure => "CONTINUE",
          :jar => "s3://us-west-2.elasticmapreduce/libs/script-runner/script-runner.jar",
          :args => [           
            "s3://us-west-2.elasticmapreduce/libs/hive/hive-script",
            "--base-path", 
            "s3://us-west-2.elasticmapreduce/libs/hive/", 
            "--install-hive", 
            "--hive-versions", 
            "latest"
          ]
        }]