How do I turn off safe mode?
bin/hadoop dfsadmin-safemode leave
When the Distributed file system starts, there will be a security mode at the beginning, and when the Distributed file system is in Safe mode, the contents of the file system are not allowed to be modified or deleted until the end of safe mode. The Safe mode is to check the validity of the data blocks on each datanode when the system is started, and to copy or delete some data blocks according to the policy. The run time can also be entered in safe mode through commands. In practice, when the system starts to modify and delete files will also have a safe mode does not allow the modification of the error prompt, only need to wait a while.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Cannot delete ..... Name node is in safe mode