Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

HDFS directory permission issue

avatar

I am creating a directory under /user with some name say abcd , but permission for this user is getting set 750 but same operation when is being performed in the different environment permission is getting set 700 , however permission for the directory /user is drwxr-xr-x in both environment .

please find below commands for the operation performed while creating the hdfs directory .

hdfs dfs -mkdir /user/abcd
hdfs dfs -chown abcd:hdfs  

Thanks

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Anurag Mishra

Can you please check the "fs.permissions.umask-mode" property value defined inside your cluster. Is this value set differently in your different clusters?

Ambari --> HDFS --> Configs --> Advanced --> "Advanced hdfs-site" 

https://community.hortonworks.com/content/supportkb/48780/how-to-set-a-global-umask-in-hdfs.html

https://community.hortonworks.com/articles/62613/umask-vs-hdfs-default-acls.html

View solution in original post

2 REPLIES 2

avatar
Master Mentor

@Anurag Mishra

Can you please check the "fs.permissions.umask-mode" property value defined inside your cluster. Is this value set differently in your different clusters?

Ambari --> HDFS --> Configs --> Advanced --> "Advanced hdfs-site" 

https://community.hortonworks.com/content/supportkb/48780/how-to-set-a-global-umask-in-hdfs.html

https://community.hortonworks.com/articles/62613/umask-vs-hdfs-default-acls.html

avatar

@Jay Kumar SenSharma

Thanks jay for your response ,

in the lecture where I am experiencing the issue fs.permissions.umask-mode is set 022 but in other cluster where we are not getting the issue value if the same is 077 .