README.md in elasticity-3.0.3 vs README.md in elasticity-3.0.4
- old
+ new
@@ -104,19 +104,21 @@
These options are sent up as part of job flow submission (i.e. ```JobFlow#run```), so be sure to configure these before running the job.
```ruby
jobflow.name = 'Elasticity Job Flow'
+# For new AWS accounts, this is required to be set
+jobflow.ec2_subnet_id = nil
+
jobflow.action_on_failure = 'TERMINATE_JOB_FLOW'
jobflow.keep_job_flow_alive_when_no_steps = false
jobflow.ami_version = 'latest'
jobflow.hadoop_version = '1.0.3'
jobflow.log_uri = nil
jobflow.enable_debugging = false # Requires a log_uri to enable
jobflow.ec2_key_name = nil
-jobflow.ec2_subnet_id = nil
jobflow.visible_to_all_users = false
jobflow.placement = 'us-east-1a'
jobflow.instance_count = 2
jobflow.master_instance_type = 'm1.small'
jobflow.slave_instance_type = 'm1.small'
@@ -298,11 +300,11 @@
### Adding an S3DistCp Step
For a complete list of supported arguments, please see the [Amazon EMR guide](http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/UsingEMR_s3distcp.html).
```ruby
-# Path to your script, plus arguments (both symbols and strings are supported)
-copy_step = Elasticity::S3DistCpStep.new(:arg1 => 'value1', 'arg2' => 'value2')
+copy_step = Elasticity::S3DistCpStep.new
+copy_step.arguments = [...]
jobflow.add_step(copy_step)
```
## 6 - Upload Assets (optional)