Project 2 : NYSE: Sqoop import error



0
I am trying to import file from mysql using sqoop and getting error below, any help is appreciated :

cloudera@cloudera-vm:~/nyse_project$ sqoop import --connect jdbc:/mysql://localhost/nyse --table nasdaq_daily_prices
14/06/21 19:31:27 ERROR tool.BaseSqoopTool: Got error creating database manager: java.io.IOException: No manager for connect string: jdbc:/mysql://localhost/nyse
at com.cloudera.sqoop.ConnFactory.getManager(ConnFactory.java:119)
at com.cloudera.sqoop.tool.BaseSqoopTool.init(BaseSqoopTool.java:181)
at com.cloudera.sqoop.tool.ImportTool.init(ImportTool.java:81)
at com.cloudera.sqoop.tool.ImportTool.run(ImportTool.java:411)
at com.cloudera.sqoop.Sqoop.run(Sqoop.java:144)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
at com.cloudera.sqoop.Sqoop.runSqoop(Sqoop.java:180)
at com.cloudera.sqoop.Sqoop.runTool(Sqoop.java:218)
at com.cloudera.sqoop.Sqoop.main(Sqoop.java:228)

1 Answer(s)


0

As discussed during the class the mysql jdbc connect string should be jdbc:mysql://localhost/nyse