来源:http://stackoverflow.com/questions/5890188/hadoop-streaming-job-failed-in-python
java. io.IOException: Broken pipe 解决
-mapper "python ./mapper.py"
-reducer "python ./reducer.py"
Try to enclose your input path in double quotes. (-input "/data/omni/20110115/exp6-10122")
lang.RuntimeException: PipeMapRed.waitOutputThreads()解决
hadoop jar hadoop-streaming*.jar
-D stream.non.zero.exit.is.failure=false
本文介绍了如何解决Hadoop Streaming中使用Python脚本时遇到的Broken pipe错误和PipeMapRed.waitOutputThreads()异常。提供了具体的命令行参数设置来避免此类问题。

1814

被折叠的 条评论
为什么被折叠?



