Created 01-27-2018 09:59 PM
from the logs we can see that
what is the command to get name not not in safe mode ?
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2345) Caused by: org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot create file/spark2-history/.cffb30ea-b88b-4044-8e1d-017039458f94. Name node is in safe mode. The reported blocks 4 needs additional 10 blocks to reach the threshold 0.9900 of total blocks 14. The number of live datanodes 3 has reached the minimum number 0. Safe mode will be turned off automatically once the thresholds have been reached. at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkNameNodeSafeMode(FSNamesystem.java:1391) ... 13 more
Created 01-27-2018 10:17 PM
Created 01-27-2018 10:17 PM
hdfs dfsadmin -safemode leave
Created 10-20-2024 06:11 PM
Why is it namenode become safe mode?
Created 01-31-2018 10:04 AM
Command To Check SafeMode On/Off: hdfs dfsadmin -safemode get
Command To Get Out Of Safe Mode Shared Above.