sqoop导入所有表失败,错误如下

ehxuflar  于 2021-06-03  发布在  Sqoop
关注(0)|答案(1)|浏览(310)

执行此命令时出现此错误 import-all-tables 命令:

[cloudera@quickstart Desktop]$ sqoop import-all-tables --connect jdbc:mysql://192.168.26.131/batch31 –-username root –-password cloudera --exclude-tables NYSE_DAILY_PRICES_MYSQL -m1
Warning: /usr/lib/sqoop/../accumulo does not exist! Accumulo imports will fail.
Please set $ACCUMULO_HOME to the root of your Accumulo installation.
18/04/13 10:27:14 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6-cdh5.12.0
18/04/13 10:27:14**ERROR tool.BaseSqoopTool: Error parsing arguments for import-all-tables:**
cclgggtu

cclgggtu1#

检查前导破折号 username 以及 password 你需要使用 - 而不是 .

相关问题