Sqoop import: Permission denied

Hi Durga Sir, @itversity

Sqoop Command :
sqoop import
–connect “jdbc:mysql://nn01.itversity.com:3306/retail_db”
–username=retail_dba
–password=itversity
–table departments
–target-dir /home/mohangowda/sqoopimport/departments

Error i am getting


Please help.
Thanks

Your target-dir is not correct. You have to use /user/mohangowda…