tool.importTool: Error



When I run the following code I get errors on the labs:

sqoop import
–connect “jdbc:mysql://”
–username retail_user
–password itversity
–table products
–warehouse-dir “/user/secret_path/problem1/products/parquet/”
–fields-terminated-by “:”
–lines-terminated-by “|”
–hive-table product_new

I made sure the hive table and hdfs path did not exist prior to running.

What do I need to change/check to get this to work? (what appears to be a single dash in the code above is actually a double dash, and each lines ends with a back slash that doesn’t show up when I post the code)


can you paste the actual error log what you are getting.



typo in connect string.
Its jdbc. please change and try again.