wzng 2020-05-18 20:39 采纳率: 50%
浏览 396
已采纳

idea使用javaapi向hadoop上传文件时报错

我在使用本地idea向云服务器里的hadoop上传数据时报错:
org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /a.txt could only be replicated to 0 nodes instead of minReplication (=1). There are 1 datanode(s) running and 1 node(s) are excluded in this operation.

网上查过一些,大都是 There are 0 datanode(s) running and 0 node(s) are excluded in this operation.
而我的是, There are 1 datanode(s) running and 1 node(s) are excluded in this operation.
求问怎么解决

  • 写回答

1条回答 默认 最新

  • dabocaiqq 2020-05-19 07:47
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?