There are 2 datanode(s) running and 2 node(s) are excluded in this operation.
发布日期:2021-11-15 02:11:42 浏览次数:2 分类:技术文章

本文共 395 字,大约阅读时间需要 1 分钟。

There are 2 datanode(s) running and 2 node(s) are excluded in this operation.

此例是使用docker镜像拉取的2个datanode节点的大数据伪分布式集群部署。

首先配置windows宿主机到docker的IP的映射
route add -p 172.18.0.2(docker容器内IP) mask 255.255.0.0 192.168.10.161(linux虚拟机IP)
刚开始在本地windows中ping 容器的主机IP ping不通,需要开启防火墙ping通(诡异)
执行上传到HDFS的代码,报错 There are 2 datanode(s) running and 2 node(s) are excluded in this operation. 此时在关闭虚拟机中centos的防火墙即可

转载地址:https://blog.csdn.net/qq_28358461/article/details/89764736 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:Oracle数据库实现自增长
下一篇:hadoop指令操作hdfs上的数据

发表评论

最新留言

逛到本站,mark一下
[***.202.152.39]2024年04月15日 17时50分23秒