我在使用本地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.
求问怎么解决