从hive导出到vertica的问题

时间:2016-10-27 11:56:52

标签: sqoop sqoop2

我正在尝试将数据从mapr配置单元导出到Vertica。为此,我使用了以下sqoop命令。

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

但我最终得到以下错误:

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

您能告诉我如何使用Sqoop将数据导出到vertica 谢谢, 巴斯卡尔。

0 个答案:

没有答案
相关问题