Support Questions

Find answers, ask questions, and share your expertise

User not deleted in HDFS

New Contributor

Using script "" the user home directory getting created automatically and I'm able to view the user folder as below but after the user has been deleted in ambari console still the user home path exists. Kindly assist. Much appreciated for your quick response.

# hdfs dfs -ls /user/

drwxr-xr-x - unknown hdfs 0 2017-12-12 17:23 /user/unknown


Cloudera Employee


The is only executed after user creation and currently there is no post-user-deletion hook in Ambari. I'm afraid you have to delete the home directory manually after removing the user.