Hadoop Streaming - external mapper script - file not found
问题 Trying to run a mapreduce job on Hadoop using Streaming. I have two ruby scripts wcmapper.rb and wcreducer.rb. I'm attempting to run the job as follows: hadoop jar hadoop/contrib/streaming/hadoop-streaming-1.2.1.jar -file wcmapper.rb -mapper wcmapper.rb -file wcreducer.rb -reducer wcreducer.rb -input test.txt -output output This results in the following error message at the console: 13/11/26 12:54:07 INFO streaming.StreamJob: map 0% reduce 0% 13/11/26 12:54:36 INFO streaming.StreamJob: map