从配置单元导出到vertica时出现问题

vsaztqbk  于 2021-06-03  发布在  Sqoop
关注(0)|答案(0)|浏览(391)

我正在尝试将数据从mapr hive导出到vertica。为此,我使用了以下sqoop命令。

  1. sqoop export --driver com.vertica.jdbc.Driver --connect "jdbc:vertica://*****:5433/dbName" --username "******" --password "*****" --export-dir maprfs:///marketing/hive/dbdata/test.db/test_tab --table test_table --input-fields-terminated-by E'\001' -m 1

但我最后犯了以下错误:

  1. cat: /opt/mapr/zookeeper/zookeeperversion: No such file or directory
  2. Warning: /opt/mapr/sqoop/sqoop-1.4.6/bin/../../accumulo does not exist! Accumulo imports will fail.
  3. Please set $ACCUMULO_HOME to the root of your Accumulo installation.
  4. Warning: /opt/mapr/zookeeper/zookeeper- does not exist! Accumulo imports will fail.
  5. Please set $ZOOKEEPER_HOME to the root of your Zookeeper installation.
  6. Picked up _JAVA_OPTIONS: -XX:-UseLargePages
  7. 16/10/27 11:47:45 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6-mapr-1601
  8. 16/10/27 11:47:45 ERROR tool.BaseSqoopTool: Error parsing arguments for export:
  9. 16/10/27 11:47:45 ERROR tool.BaseSqoopTool: Unrecognized argument: -.password
  10. 16/10/27 11:47:45 ERROR tool.BaseSqoopTool: Unrecognized argument:*******
  11. 16/10/27 11:47:45 ERROR tool.BaseSqoopTool: Unrecognized argument: --export-dir
  12. 16/10/27 11:47:45 ERROR tool.BaseSqoopTool: Unrecognized argument: /marketing/hive/dbdata/test.db/test_tab
  13. 16/10/27 11:47:45 ERROR tool.BaseSqoopTool: Unrecognized argument: --table
  14. 16/10/27 11:47:45 ERROR tool.BaseSqoopTool: Unrecognized argument: test_table
  15. 16/10/27 11:47:45 ERROR tool.BaseSqoopTool: Unrecognized argument: --input-fields-terminated-by
  16. 16/10/27 11:47:45 ERROR tool.BaseSqoopTool: Unrecognized argument: E\001
  17. 16/10/27 11:47:45 ERROR tool.BaseSqoopTool: Unrecognized argument: -m
  18. 16/10/27 11:47:45 ERROR tool.BaseSqoopTool: Unrecognized argument: 1

你能告诉我如何使用sqoop将数据导出到vertica吗?谢谢,bhaskar。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题