Sqoop Import is failing

Hi sqoop import is failing due to permission issue.

Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.AccessControlException): Permission denied: user=biswajit1467961, access=WRITE, inode="/home/biswajit1467961
/queryresult/test/_temporary/1":hdfs:hdfs:drwxr-xr-x

Please take a look.

Hi Abhinav, Please check this.

Why is it trying to write /home/biswajit1467961 ?
There is no /home folder in HDFS. Please check the paths correctly.

1 Like

Thank you so much.

I used target-dir /user/biswajit1467961/ now and its working fine.

1 Like

21/07/03 03:43:56 INFO mapreduce.Job: Job job_1623767411877_5633 failed with state FAILED due to: Job setup failed : org.apache.hadoop.security.Acces
sControlException: Permission denied: user=rahultinku38883011, access=WRITE, inode="/user/compressresult/_temporary/1":hdfs:hdfs:drwxr-xr-x

Please can u give me a solution