问题
I used this command to leave the safe mode
hdfs dfsadmin -safemode leave
But even then, when I use this command to delete files
hdfs dfs -rm -r /user/amandeep/share/
It shows the following error
15/06/18 23:35:05 INFO fs.TrashPolicyDefault: Namenode trash configuration: Deletion interval = 0 minutes, Emptier interval = 0 minutes.
rm: Cannot delete /user/amandeep/share/lib/lib_20150615024237. Name node is in safe mode.
来源:https://stackoverflow.com/questions/30922639/not-able-to-delete-the-data-from-hdfs-even-after-leaving-safemode