从linux服务器运行以下sqoop命令从SQL Server TRANSHIST
数据库获取列表表时出现错误。
命令:
sqoop list-tables --connect 'jdbc:sqlserver://10.171.7.132:1433;database=TRANSHIST' --username rugu.ram -P --verbose
错误讯息:
17/04/12 09:17:18 DEBUG sqoop.ConnFactory:已加载的经理工厂:org.apache.sqoop.manager.oracle.OraOopManagerFactory 17/04/12 09:17:18 DEBUG sqoop.ConnFactory:已加载的经理工厂:com.cloudera.sqoop.manager.DefaultManagerFactory 17/04/12 09:17:18 DEBUG sqoop.ConnFactory:尝试使用ManagerFactory:org.apache.sqoop.manager.oracle.OraOopManagerFactory 17/04/12 09:17:19 DEBUG oracle.OraOopManagerFactory:Sqoop可以调用Oracle和Hadoop的数据连接器! 17/04/12 09:17:19 DEBUG sqoop.ConnFactory:试用ManagerFactory:com.cloudera.sqoop.manager.DefaultManagerFactory 17/04/12 09:17:19 DEBUG manager.DefaultManagerFactory:尝试使用scheme:jdbc:sqlserver: 17/04/12 09:17:19 INFO manager.SqlManager:使用1000的默认fetchSize 17/04/12 09:17:19 DEBUG sqoop.ConnFactory:实例化ConnManager org.apache.sqoop.manager.SQLServerManager@74455848 17/04/12 09:17:19 DEBUG manager.SqlManager:没有指定连接参数。使用常规API进行连接。 17/04/12 09:17:20 ERROR manager.CatalogQueryManager:无法列出数据库