Not able to delete the data from hdfs, even after leaving safemode?

回眸只為那壹抹淺笑 提交于 2021-01-27 21:00:29

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!