Hi,
I have 2 questions.
-
How can we use connection-param in sqoop.
-
When I was running below command, there is nothing in hdfs location under my username. And after that I ran below command I got AlreadyExistsException(message:Table customers already exists)
Even though i used hive-overwrite option y I am getting this error.
sqoop import-all-tables
–num-mappers 1
–connect “jdbc:mysql://nn01.itversity.com:3306/retail_db”
–username=retail_dba
–password=itversity
–hive-import
–hive-overwrite
–create-hive-table
–compress
–compression-codec org.apache.hadoop.io.compress.SnappyCodec
–outdir java_files