Class: Elasticity::S3DistCpStep
- Inherits:
-
CustomJarStep
- Object
- CustomJarStep
- Elasticity::S3DistCpStep
- Defined in:
- lib/elasticity/s3distcp_step.rb
Instance Attribute Summary
Attributes inherited from CustomJarStep
#action_on_failure, #arguments, #jar, #name
Instance Method Summary collapse
-
#initialize(legacy = false) ⇒ S3DistCpStep
constructor
A new instance of S3DistCpStep.
Methods inherited from CustomJarStep
Methods included from JobFlowStep
#aws_installation_step_name, #aws_installation_steps, included, #requires_installation?, steps_requiring_installation, #to_aws_step
Constructor Details
#initialize(legacy = false) ⇒ S3DistCpStep
Returns a new instance of S3DistCpStep.
3 4 5 6 7 8 |
# File 'lib/elasticity/s3distcp_step.rb', line 3 def initialize(legacy = false) path = '/usr/share/aws/emr/s3-dist-cp/lib/s3-dist-cp.jar' path = '/home/hadoop/lib/emr-s3distcp-1.0.jar' if legacy # For AMI version < 4 super(path) @name = 'Elasticity S3DistCp Step' end |