Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

Highlighted

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

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

2 REPLIES 2
Highlighted

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

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

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

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.
Don't have an account?
Coming from Hortonworks? Activate your account here