Create an HDFS Directory for Each New User
Each user who is allowed access to Workflow Manager must have a user home directory in HDFS.
Steps
Log in as the HDFS user.
Create a directory for the user.
hdfs dfs -mkdir -p /user/$USERNAME
In the example above, replace $USERNAME with the user name of the new user.
Change ownership on the directory to the new user.
hdfs dfs -chown $USERNAME:$HDFS_USER /user/$USERNAME
Change the permissions on the directory to read/write/execute for the new user and the groups the user belongs to.
hdfs dfs -chmod -R 770 /user/$USERNAME