使用flannel 组网
node1 10.1.18.0/24
node2 10.1.65.0/24
在node1 和node2 分别启动容器
node1容器a 10.1.18.2 ping node2容器b 10.1.65.2 可以ping通
但是我在a容器中运行hadoop-master b容器中运行hadoop-slave
执行hdfs dfs -put input.txt / 报错:
/core-site.xml._COPYING_ 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.
查看hadoop-master端显示的live信息如下:
得出的结论是,flannel 数据流转,a主机到b主机,b主机就不在进行数据的转发,没有转发到b主机的具体容器中,请问我该如何排查。