1.场景1
hdfs 重启hdfs,发现HA集群总是nameNode 主备挂掉,然后报错
Safe mode is ON.
The number of live datanodes 5 has reached the minimum number 1.
Safe mode will be turned off automatically once the thresholds have been reached.
Caused by: org.apache.hadoop.hdfs.server.namenode.SafeModeException: Log not rolled.
Name node is in safe mode.
The reported blocks 632758 needs additional 5114 blocks to reach the threshold 0.9990
of total blocks