无法导入所有表
Unable to import all tables
我正在尝试使用 sqoop
导入 sequel 服务器的所有表
sqoop import-all-tables --connect "jdbc:sqlserver://40.112.254.xxx;database=IDSTC" --username DbReader
--password Plexus123! --driver com.microsoft.sqlserver.jdbc.SQLServerDriver --target-dir
'/landing/IDSTC
它向我显示以下错误是否需要对我的命令进行任何修改
16/04/10 01:12:17 INFO sqoop.Sqoop: Running Sqoop version:
1.4.5.2.2.9.1-8
16/04/10 01:12:17 ERROR tool.BaseSqoopTool: Error parsing arguments for import:
16/04/10 01:12:17 ERROR tool.BaseSqoopTool: Unrecognized argument: all-tables
16/04/10 01:12:17 ERROR tool.BaseSqoopTool: Unrecognized argument: --connect
16/04/10 01:12:17 ERROR tool.BaseSqoopTool: Unrecognized argument: jdbc:sqlserver://40.112.254.104;database=IDSTC
试试这个:
sqoop import-all-tables --connect "jdbc:sqlserver://40.112.254.xxx;database=IDSTC" --username DbReader --password Plexus123! --driver com.microsoft.sqlserver.jdbc.SQLServerDriver --warehouse-dir /landing/IDSTC
我正在尝试使用 sqoop
导入 sequel 服务器的所有表sqoop import-all-tables --connect "jdbc:sqlserver://40.112.254.xxx;database=IDSTC" --username DbReader
--password Plexus123! --driver com.microsoft.sqlserver.jdbc.SQLServerDriver --target-dir
'/landing/IDSTC
它向我显示以下错误是否需要对我的命令进行任何修改
16/04/10 01:12:17 INFO sqoop.Sqoop: Running Sqoop version: 1.4.5.2.2.9.1-8 16/04/10 01:12:17 ERROR tool.BaseSqoopTool: Error parsing arguments for import: 16/04/10 01:12:17 ERROR tool.BaseSqoopTool: Unrecognized argument: all-tables 16/04/10 01:12:17 ERROR tool.BaseSqoopTool: Unrecognized argument: --connect 16/04/10 01:12:17 ERROR tool.BaseSqoopTool: Unrecognized argument: jdbc:sqlserver://40.112.254.104;database=IDSTC
试试这个:
sqoop import-all-tables --connect "jdbc:sqlserver://40.112.254.xxx;database=IDSTC" --username DbReader --password Plexus123! --driver com.microsoft.sqlserver.jdbc.SQLServerDriver --warehouse-dir /landing/IDSTC