当我试图运行sqoop逗号时,会出现一个错误,即没有连接字符串的管理器。
我想要的是:
sqoop export --connect "jdbc:vertica://xxxxxxxx.com:5433/PPS_GIIA" --username xxxxx --password
xxxxx --table Country -m 1 --export-dir /Eservices/SIPOC/SQLimport/part-m-0000 --input-
fields- terminated-by ',' --lines-terminated-by '\n'我得到的错误是:
WARN tool.BaseSqoopTool: Setting your password on the command-line is insecure. Consider using -P
instead.ERROR tool.BaseSqoopTool: Got error creating database manager: java.io.IOException: No
manager for connect string: jdbc:vertica://xxx:5637/xxx at
org.apache.sqoop.ConnFactory.getManager(ConnFactory.java:185)我已经复制了Vertica驱动程序,并将其放在/sqoop-1.4.3/lib中。有人知道是什么原因造成的吗?
发布于 2014-10-22 08:19:51
您在命令行中丢失了司机。它的形式应该是:
--driver <jdbc driver fully qualified class>
--driver com.vertica.jdbc.Driverhttps://stackoverflow.com/questions/26502926
复制相似问题