Permalink
Browse files

Remove jar from default name

  • Loading branch information...
1 parent d99ec53 commit da2fddbf2ba801a87d8d8488bb4859000d07634d @rslifka committed Jul 4, 2012
View
4 HISTORY.md
@@ -1,3 +1,7 @@
+## 2.1 - In Progress
+
++ Remove name of jar from default name of ```CustomJarStep``` since the AWS UI already calls it out in a separate column when looking at job flow steps.
+
## 2.0 - June 26, 2012
2.0 is a rewrite of the simplified API after a year's worth of daily use at [Sharethrough](http://www.sharethrough.com/). We're investing heavily in our data processing infrastucture and many Elasticity feature ideas have come from those efforts.
View
2 lib/elasticity/custom_jar_step.rb
@@ -10,7 +10,7 @@ class CustomJarStep
attr_accessor :action_on_failure
def initialize(jar)
- @name = "Elasticity Custom Jar Step (#{jar})"
+ @name = 'Elasticity Custom Jar Step'
@jar = jar
@arguments = []
@action_on_failure = 'TERMINATE_JOB_FLOW'
View
6 spec/lib/elasticity/custom_jar_step_spec.rb
@@ -6,7 +6,7 @@
it { should be_a Elasticity::JobFlowStep }
- its(:name) { should == 'Elasticity Custom Jar Step (jar)' }
+ its(:name) { should == 'Elasticity Custom Jar Step' }
its(:jar) { should == 'jar' }
its(:arguments) { should == [] }
its(:action_on_failure) { should == 'TERMINATE_JOB_FLOW' }
@@ -24,7 +24,7 @@
:hadoop_jar_step => {
:jar => 'jar'
},
- :name => 'Elasticity Custom Jar Step (jar)'
+ :name => 'Elasticity Custom Jar Step'
}
end
end
@@ -43,7 +43,7 @@
:jar => 'jar',
:args => ['arg1', 'arg2',],
},
- :name => 'Elasticity Custom Jar Step (jar)'
+ :name => 'Elasticity Custom Jar Step'
}
end
end
View
2 spec/lib/elasticity/job_flow_integration_spec.rb
@@ -184,7 +184,7 @@
's3n://slif_hadoop_test/cloudburst/output/2011-12-09',
],
},
- :name => 'Elasticity Custom Jar Step (s3n://elasticmapreduce/samples/cloudburst/cloudburst.jar)'
+ :name => 'Elasticity Custom Jar Step'
}
]
}).and_return('CUSTOM_JAR_JOBFLOW_ID')

0 comments on commit da2fddb

Please sign in to comment.