Workflow Management
Also available as:
PDF
loading table of contents...

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

  1. Log in as the HDFS user.

  2. 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.

  3. Change ownership on the directory to the new user.

    hdfs dfs -chown $USERNAME:$HDFS_USER /user/$USERNAME
  4. 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