put: File /data/word.txt.

编程入门 行业动态 更新时间:2024-10-09 00:51:16

put: <a href=https://www.elefans.com/category/jswz/34/1770945.html style=File /data/word.txt."/>

put: File /data/word.txt.

put: File /data/word.txt.COPYING could only be replicated to 0 nodes inste

关于这个问题:org.apache.hadoop.ipc.RemoteException(java.io.IOExcption): File /input/data.txt.COPYING could only be replicated to 0 nodes instead of minReplication (=1). There are 0 datanode(s) running and no node(s) are excluded in this operation.

解决办法是:
把hadoop目录下的hdf文件夹给删除掉 也就是在配置时指定的木目录

在这里插入图片描述
也把tmp目录删除掉 然后再手动建立tmp

注意:把每个节点进行同样的操作

先启动dfs

再启动
yarn

尽可能不要start-all.sh



然后再看一下整个集群的存储状况

然后关闭DataNode 节点的防火墙



然后就无显示结果 一切正常

备注:其实关闭firewalld一般情况下就可以了或者iptables

更多推荐

put: File /data/word.txt.

本文发布于:2024-02-06 11:10:42,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1748497.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:File   put   data   txt   word

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!