发布网友 发布时间:2022-04-14 07:37
共1个回答
热心网友 时间:2022-04-14 09:06
1,可能是Hadoop调不到MyMapper,MyRecer造成的,试着在命令行里加了-file选项,运行的命令变成:../hadoop-0.20.0/bin/hadoop jar ../hadoop-0.20.0/contrib/streaming/hadoop-0.20.0-streaming.jar -file ./MyMapper -mapper ./MyMapper -file ./MyRecer -recer ./Recer -input doc -output test-outpu