在搭建好hadoop集群后,在本地执行hdfs dfs -put 命令报错
File /test01/1.txt._COPYING_ could only be written to 0 of the 1 minReplication nodes. There are 0 datanode(s) running and 0 node(s) are excluded in this operation.
后来查看了一下本地的进程 发现主节点没有启动datanode导致失败
去hadoop软件下面修改了 workers 加入主节点配置后,重启集群,报错解决了