Using script "post-user-creation-hook.sh" 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