Sqoop import-all-tables - cloudera quickstart vm

I ran below command

sqoop import-all-tables
-m 12
–connect “jdbc:mysql://quickstart.cloudera:3306/retail_db”
–username=retail_dba
–password=cloudera
–warehouse-dir=/user/cloudera/sqoop_imports

but getting this error:

Retrying to connect to server : quickstart/cloudera/10.0.2.15:8032. already tried 9 time(s) ; retry policy is RetryUpToMaximumCountWithFixedSleep

Could you please help

check whether you are able to connect to mysql from console using mysql -u retail_dba -p

1 Like