Class: Elasticity::HadoopFileBootstrapAction
- Inherits:
-
BootstrapAction
- Object
- BootstrapAction
- Elasticity::HadoopFileBootstrapAction
- Defined in:
- lib/elasticity/hadoop_file_bootstrap_action.rb
Instance Attribute Summary
Attributes inherited from BootstrapAction
#name, #option, #script, #value
Instance Method Summary collapse
-
#initialize(config_file) ⇒ HadoopFileBootstrapAction
constructor
A new instance of HadoopFileBootstrapAction.
Methods inherited from BootstrapAction
Constructor Details
#initialize(config_file) ⇒ HadoopFileBootstrapAction
Returns a new instance of HadoopFileBootstrapAction.
5 6 7 8 9 10 |
# File 'lib/elasticity/hadoop_file_bootstrap_action.rb', line 5 def initialize(config_file) @name = 'Elasticity Bootstrap Action (Configure Hadoop via File)' @option = '--mapred-config-file' @value = config_file @script = 's3n://elasticmapreduce/bootstrap-actions/configure-hadoop' end |