README.md in elasticity-2.3 vs README.md in elasticity-2.3.1
- old
+ new
@@ -33,11 +33,11 @@
# This is the first step in the jobflow - running a custom jar
step = Elasticity::CustomJarStep.new('s3n://elasticmapreduce/samples/cloudburst/cloudburst.jar')
# Here are the arguments to pass to the jar
-c.arguments = %w(s3n://elasticmapreduce/samples/cloudburst/input/s_suis.br s3n://elasticmapreduce/samples/cloudburst/input/100k.br s3n://slif-output/cloudburst/output/2012-06-22 36 3 0 1 240 48 24 24 128 16)
+step.arguments = %w(s3n://elasticmapreduce/samples/cloudburst/input/s_suis.br s3n://elasticmapreduce/samples/cloudburst/input/100k.br s3n://slif-output/cloudburst/output/2012-06-22 36 3 0 1 240 48 24 24 128 16)
# Add the step to the jobflow
jobflow.add_step(step)
# Let's go!
@@ -124,11 +124,10 @@
ig = Elasticity::InstanceGroup.new
ig.count = 10 # Provision 10 instances
ig.type = 'c1.medium' # See the EMR docs for a list of supported types
ig.set_on_demand_instances # This is the default setting
-
jobflow.set_core_instance_group(ig)
```
#### Spot Instance Groups
@@ -137,10 +136,9 @@
```ruby
ig = Elasticity::InstanceGroup.new
ig.count = 10 # Provision 10 instances
ig.type = 'c1.medium' # See the EMR docs for a list of supported types
ig.set_spot_instances(0.25) # Makes this a SPOT group with a $0.25 bid price
-
jobflow.set_core_instance_group(ig)
```
## 4 - Adding Bootstrap Actions (optional)