[hadoop@rhel logs]$ hadoop dfsadmin -safemode get Safe mode is ON [hadoop@rhel logs]$ jps 2255 TaskTracker 2542 Jps 2141 JobTracker 1889 NameNode 2060 SecondaryNameNode [hadoop@rhel logs]$ 这是正常情况吗? 是不是安全模式下,没有datanode 报错如下: org.apache.hadoop.ipc.RemoteException: org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot delete /home/hadoop/tmp/mapred/system. Name node is in safe mode. The ratio of reported blocks 0.0000 has not reached the threshold 0.9990. Safe mode will be turned off automatically. |