Enable user home directory creation
You can enable automated creation of a /user/[USER_NAME] HDFS home directory for each user that you create.
On your Ambari Server host, edit the ambari-properties file.
using a command line editor (vi, in this example):
- Add the following property: ambari.post.user.creation.hook.enabled=true.
Add the script path to the ambari properties file:
ImportantIn a Kerberized environment, you must modify the kinit file path in the default user creation hook script.
Restart Ambari server.