wzng 2020-05-18 12: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-18 23:47
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
编辑
预览

报告相同问题?

手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部