一、NameNode处于安全模式
Exception in thread "main" org.apache.hadoop.ipc.RemoteException(
org.apache.hadoop.hdfs.server.namenode.SafeModeException):
Cannot delete /tmp/hadoop-
yarn/staging/hadoop/.staging/job_1490689337938_0001.
Name node is in safe mode.
1、NameNode发现集群中DataNode丢失达到一定比例(0.01%)时会进入安全模式,此时只允许查看数据不允许对数据进行任何操作。
退出安全模式,命令如下
sudo bin/hadoop dfsadmin -safemode leave
二、IO报错
Failed with exception java.io.IOExceptio