Skip to content

Instantly share code, notes, and snippets.

@tomelm
Created February 18, 2013 00:23
Show Gist options
  • Save tomelm/4974354 to your computer and use it in GitHub Desktop.
Save tomelm/4974354 to your computer and use it in GitHub Desktop.
4974214|master⚡ ⇒ ruby asdf.rb --run --local data.json output.txt
/Users/telmalem/.rvm/gems/ruby-1.9.3-p362/gems/wukong-2.0.2/lib/wukong/script.rb:268: Use RbConfig instead of obsolete and deprecated Config.
I, [2013-02-17T19:19:41.211925 #31942] INFO -- : Launching hadoop!
I, [2013-02-17T19:19:41.212019 #31942] INFO -- : Running
/usr/lib/hadoop/bin/hadoop \
jar /usr/lib/hadoop/contrib/streaming/hadoop-*streaming*.jar \
-D mapred.job.name='asdf.rb---data.json---output.txt' \
-mapper '/Users/telmalem/.rvm/rubies/ruby-1.9.3-p362/bin/ruby asdf.rb --map --log_interval=10000 --log_seconds=30 --local=true' \
-reducer '/Users/telmalem/.rvm/rubies/ruby-1.9.3-p362/bin/ruby asdf.rb --reduce --log_interval=10000 --log_seconds=30 --local=true' \
-input 'data.json' \
-output 'output.txt' \
-file '/Users/telmalem/4974214/asdf.rb'
sh: line 1: /usr/lib/hadoop/bin/hadoop: No such file or directory
/Users/telmalem/.rvm/gems/ruby-1.9.3-p362/gems/wukong-2.0.2/lib/wukong/script.rb:234:in `execute_command!': Streaming command failed! (RuntimeError)
from /Users/telmalem/.rvm/gems/ruby-1.9.3-p362/gems/wukong-2.0.2/lib/wukong/script/hadoop_command.rb:78:in `execute_hadoop_workflow'
from /Users/telmalem/.rvm/gems/ruby-1.9.3-p362/gems/wukong-2.0.2/lib/wukong/script.rb:152:in `run'
from asdf.rb:18:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment