Sqoop queries getting failed because of access denied

Permission denied: user=priyanka, access=WRITE, inode="/user/traning/
sqoop-import/retail_db/order_items/_temporary/1":hdfs:hdfs:drwxr-xr-x

Please reply with the complete command which you have tried for so that we can help you in a better way.

sqoop import
–connect jdbc:mysql://ms.itversity.com:3306/retail_db
–username retail_user
–password itversity
–table order_items
–warehouse-dir /user/training/sqoop_import/retail_db
–delete-target-dir

all sqoop import commands give permission denied error

Please go through the below link:

please provide required privilege to run import queries

You already have the required privileges to run import queries. But you do not have access to save the data into another user account.