Class: Elasticity::HadoopFileBootstrapAction

Inherits:
BootstrapAction show all
Defined in:
lib/elasticity/hadoop_file_bootstrap_action.rb

Instance Attribute Summary

Attributes inherited from BootstrapAction

#arguments, #name, #script

Instance Method Summary collapse

Methods inherited from BootstrapAction

#to_aws_bootstrap_action

Constructor Details

#initialize(config_file) ⇒ HadoopFileBootstrapAction

Returns a new instance of HadoopFileBootstrapAction



5
6
7
8
# File 'lib/elasticity/hadoop_file_bootstrap_action.rb', line 5

def initialize(config_file)
  super('s3n://elasticmapreduce/bootstrap-actions/configure-hadoop', '--mapred-config-file', config_file)
  self.name = 'Elasticity Bootstrap Action (Configure Hadoop via File)'
end