YARN owner permission

You must change the owner of the Yarn user. If you want to add a VPC or Compute cluster after migration, you must make changes for /user/yarn in HDFS.

  1. SSH to a cluster node
  2. You must have Sudo permission to perform this.
  3. Change the owner of /user/yarn to hdfs:supergroup yarn:hadoop with the command: sudo -u hdfs hdfs dfs -chown hdfs:supergroup /user/yarn
  4. Change the permissions of /user/yarn to drwxr-xr-x with the command: sudo -u hdfs hdfs dfs -chmod 755 /user/yarn