简体   繁体   English

SQOOP - 将 hive 中的 ORC 格式表导出到 DB2 数据库

[英]SQOOP - Export ORC format table in hive to DB2 database

I am trying below code to export table in orc format in hive to DB2 database.我正在尝试使用下面的代码将 hive 中的 orc 格式的表导出到 DB2 数据库。

sqoop export --connect jdbc:db2://*****:*****/DV --username test --password test11 –-table DEP.Table1

Error Message:错误信息:

ERROR tool.BaseSqoopTool: Error parsing arguments for export:
ERROR tool.BaseSqoopTool: Unrecognized argument: -table
ERROR tool.BaseSqoopTool: Unrecognized argument: DEP.Table1

Sqoop Version: Sqoop 1.4.6-mapr Sqoop 版本:Sqoop 1.4.6-mapr

Please suggest.请建议。

Please check symbols before table : it looks that the first symbol ( ) is en dash while the second is hyphen minus .请检查table前的符号:看起来第一个符号 ( ) 是破折号,而第二个是减号连字符

Try this command:试试这个命令:

sqoop export --connect jdbc:db2://*****:*****/DV --username test --password test11 --table DEP.Table1 sqoop export --connect jdbc:db2://*****:*****/DV --username test --password test11 --table DEP.Table1

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM