报错:RemoteException(java.io.IOException): File /tmp/new/data.txt 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
问题描述: hadoop启动hdfs的时候namenode和datanode进程都存在,但是感觉不到datanode的存在,也就是Live Nodes和Dead Nodes 都是0,异常信息: datanode.DataNode: Exception in BPOfferService for Block pool BP 解决方式: 清空:hadoop.tmp.dir
Hadoop启动时警告,但不影响使用,强迫症的我还是决定寻找解决办法 WARNING: HADOOP_SECURE_DN_USER has been replaced by HDFS_DATANODE_SECURE_USER. Using value of HADOOP_SECURE_DN_USER. 原因是Hadoop安装配置于root用户下,对文件需要进一步的配置,应该是由于新版