Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

User not deleted in HDFS

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


Re: User not deleted in HDFS

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.

Don't have an account?
Coming from Hortonworks? Activate your account here