Permission denied error while importing a table into HDFS using Scoop

27 views Asked by At

I am new to Hadoop. I have connected to Cloudera quickstart VM. I am trying to import the categories table present in MySQL retail_db in HDFS but I am getting permission denied error. Following is the code.

sqoop import \
--connect "jdbc:mysql://quickstart.cloudera:3306/retail_db" \
--username root \
--password cloudera \
--table categories \
--target-dir /queryresult20

Error message -

org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.AccessControlException): Permission denied: user=cloudera, access=WRITE, inode="/":hdfs:supergroup:drwxr-xr-x

0

There are 0 answers