Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Permission denied: user=admin, access=WRITE, inode="/user":hdfs:hdfs:drwxr-xr-x

avatar
New Contributor

I tried to create a folder using the admin user, at the time of creating it I get the following error: Permission denied: user = admin, access = WRITE, inode = "/ user": hdfs: hdfs: drwxr-xr-x When checking the permissions in Ambari> Users> admin, it tells me that I have all the permissions activated. How can i solve this problem?

1 ACCEPTED SOLUTION

avatar
Master Collaborator
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
3 REPLIES 3

avatar
Super Collaborator
@Angel Ajcabul

Using SH or shell-in-a-box (http://sandbox-hdp.hortonworks.com:4200), issue the following commands:

su - hdfs -c "hdfs dfs -mkdir /user/newFolder"
su - hdfs -c "hdfs dfs -chown admin:hdfs /user/newFolder"

avatar
New Contributor

when I try 'chown' command, it shows: authentication failure

 

can you please help me through it.

 

avatar
Master Collaborator
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login