Permalink
Browse files

fixes for configliere 0.4.x

  • Loading branch information...
Philip (flip) Kromer
Philip (flip) Kromer committed May 17, 2011
1 parent fdcf561 commit 3cbc01e13c37cf842fa703dd0bf7a89c9e9ddb52
Showing with 3 additions and 4 deletions.
  1. +0 −1 README.textile
  2. +1 −1 lib/wukong/script.rb
  3. +2 −2 lib/wukong/script/hadoop_command.rb
View
@@ -19,7 +19,6 @@ The **main documentation** lives on the "Wukong Pages.":http://mrflip.github.com
* Wukong is licensed under the "Apache License":http://mrflip.github.com/wukong/LICENSE.html (same as Hadoop)
* "More info":http://mrflip.github.com/wukong/moreinfo.html
-
h2. Help!
Send Wukong questions to the "Infinite Monkeywrench mailing list":http://groups.google.com/group/infochimps-code
View
@@ -252,7 +252,7 @@ def maybe_overwrite_output_paths! output_path
# the map/reducer phase scripts
def non_wukong_params
options.
- reject{|param, val| options.param_definitions[param][:wukong] }.
+ reject{|param, val| options.definition_of(param, :wukong) }.
map{|param,val| "--#{param}=#{val}" }.
join(" ")
end
@@ -40,8 +40,8 @@ module HadoopCommand
# if not, the resulting nil will be elided later
def jobconf option
if options[option]
- # "-jobconf %s=%s" % [options.description_for(option), options[option]]
- "-D %s=%s" % [options.description_for(option), options[option]]
+ # "-jobconf %s=%s" % [options.definition_of(option, :description), options[option]]
+ "-D %s=%s" % [options.definition_of(option, :description), options[option]]
end
end

0 comments on commit 3cbc01e

Please sign in to comment.