Python Hadoop:Mapreducer java.lang.RuntimeException: Error in configuring object 或者 PipeMapRed.waitOutputThreads(): subprocess failed with code 2
解决方案:
hadoop jar ../hadoop-0.20.0/contrib/streaming/hadoop-0.20.0-streaming.jar -file ./MyMapper.py -mapper “python ./MyMapper.py” -file ./MyReducer.py -reducer “python ./MyReducer.py” -input doc -output test-output