【发布时间】:2015-07-23 14:45:42
【问题描述】:
我有一个 Reduce 作业,我收到上述错误,文件只能复制到 0 个节点而不是 1 个。我在网上搜索过,发现这可能是数据节点的问题,但我正在运行此工作流中的其他 MapReduce 作业都在工作。我看到的唯一区别是我使用了多个输出并指定了一个文件夹,但我确信路径是正确的。这是多输出写入行:
mos.write("mosName", new LongWritable(key), value, outputFilePath);
我得到的确切错误是:
org.apache.hadoop.ipc.RemoteException(java.io.IOException): File xxx could
only be replicated to 0 nodes instead of minReplication (=1). There are 7
datanode(s) running and no node(s) are excluded in this operation.
任何帮助将不胜感激。
【问题讨论】: