spec/lib/elasticity/hive_step_spec.rb in elasticity-2.3 vs spec/lib/elasticity/hive_step_spec.rb in elasticity-2.3.1
- old
+ new
@@ -6,11 +6,11 @@
it { should be_a Elasticity::JobFlowStep }
its(:name) { should == 'Elasticity Hive Step (script.hql)' }
its(:script) { should == 'script.hql' }
- its(:variables) { should == { } }
+ its(:variables) { should == {} }
its(:action_on_failure) { should == 'TERMINATE_JOB_FLOW' }
describe '#to_aws_step' do
it 'should convert to aws step format' do
@@ -60,10 +60,12 @@
:jar => 's3://elasticmapreduce/libs/script-runner/script-runner.jar',
:args => [
's3://elasticmapreduce/libs/hive/hive-script',
'--base-path',
's3://elasticmapreduce/libs/hive/',
- '--install-hive'
+ '--install-hive',
+ '--hive-versions',
+ 'latest'
],
},
:name => 'Elasticity - Install Hive'
}
end
\ No newline at end of file