Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Permission denied: user=ABC, access=WRITE, inode="/user":hdfs:supergroup:drwxr-xr-x
Labels:
- Labels:
-
Apache Sqoop
-
HDFS
Explorer
Created on 05-27-2019 03:36 AM - edited 09-16-2022 07:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Champion
Created 05-28-2019 07:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you fire the below command
sudo -u hdfs hadoop fs -mkdir /user/butmah
sudo -u hdfs hadoop fs -chown butmah /user/butmah
sudo -u hdfs hadoop fs -mkdir /user/butmah
sudo -u hdfs hadoop fs -chown butmah /user/butmah
New Contributor
Created 02-24-2021 07:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This works thanks alot
Champion
Created 02-25-2021 02:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please mark and give us kudos so it encourages the fellow users to
contribute more !
contribute more !
Champion
Created 05-28-2019 07:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
The /user/ directory is owned by "hdfs" with 755 permissions. As a result only hdfs can write to that directory.
