Support Questions

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

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

avatar
Explorer

Hello,

when I try to run a sqoop import command I am getting the following error:

 

 

Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.AccessControlException): 
Permission denied: user=butmah, access=WRITE, inode="/user":hdfs:supergroup:drwxr-xr-x

 

 

how to solve this ?

 

tthanks

4 REPLIES 4

avatar
Champion
Can you fire the below command
sudo -u hdfs hadoop fs -mkdir /user/butmah
sudo -u hdfs hadoop fs -chown butmah /user/butmah

avatar
New Contributor

This works thanks alot

 

avatar
Champion
Please mark and give us kudos so it encourages the fellow users to
contribute more !

avatar
Champion
The rational behind the permission denied ERROR
The /user/ directory is owned by "hdfs" with 755 permissions. As a result only hdfs can write to that directory.