Created 02-24-2021 07:04 AM
ERROR tool.ImportTool: Import failed: org.apache.hadoop.security.AccessControlException: Permission denied: user=cloudera_user, access=WRITE, inode="/user":hdfs:supergroup:drwxr-xr-x
Created 02-25-2021 02:10 AM
Hello @SajawalSultan
It seems you are running the job via user cloudera_user and it needs access to /user/<username> directory to create scratch directories which it is unable to create because user "cloudera_user" does not has permissions.
hdfs:supergroup:drwxr-xr-x /user
Run hdfs dfs -chmod 777 /user from hdfs user to ensure you get proper access to /user directory.
Let me know if this solves your sqoop import.
Created 02-25-2021 02:10 AM
Hello @SajawalSultan
It seems you are running the job via user cloudera_user and it needs access to /user/<username> directory to create scratch directories which it is unable to create because user "cloudera_user" does not has permissions.
hdfs:supergroup:drwxr-xr-x /user
Run hdfs dfs -chmod 777 /user from hdfs user to ensure you get proper access to /user directory.
Let me know if this solves your sqoop import.
Created 02-28-2021 03:02 AM
Thanks, it's resolved. Appreciated very much