bin/wu-hadoop in wukong-hadoop-0.0.2 vs bin/wu-hadoop in wukong-hadoop-0.1.0

- old
+ new

@@ -1,14 +1,4 @@ #!/usr/bin/env ruby require 'wukong-hadoop' -settings = Wukong::Hadoop::Configuration -require 'wukong/boot' -Wukong.boot!(settings) - -settings[:command_prefix] = 'bundle exec' if Wukong.in_deploy_pack? - -if settings.rest.empty? - settings.dump_help - exit(1) -end -Wukong::Hadoop::Driver.run(settings, *settings.rest) +Wukong::Hadoop::HadoopRunner.run