Module: Wukong::Hadoop::Overwritables
- Included in:
- HadoopRunner
- Defined in:
- lib/wukong-hadoop/runner/overwritables.rb
Overview
A separate module to allow easy overriding from other plugins.
Instance Method Summary collapse
-
#input_paths ⇒ String
The input paths to read from.
-
#output_path ⇒ String
The output path to write to.
-
#params_to_pass ⇒ Configliere::Param
Returns the parameters to pass to invocations of
wu-local
.
Instance Method Details
#input_paths ⇒ String
The input paths to read from.
10 11 12 |
# File 'lib/wukong-hadoop/runner/overwritables.rb', line 10 def input_paths (settings[:input] || []) end |
#output_path ⇒ String
The output path to write to.
17 18 19 |
# File 'lib/wukong-hadoop/runner/overwritables.rb', line 17 def output_path settings[:output] end |
#params_to_pass ⇒ Configliere::Param
Returns the parameters to pass to invocations of wu-local
.
This is separated out as a separate method so that it can easily be overriden by other plugins.
27 28 29 |
# File 'lib/wukong-hadoop/runner/overwritables.rb', line 27 def params_to_pass settings end |