执行此命令时出现此错误 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:**
1条答案
按热度按时间cclgggtu1#
检查前导破折号
username
以及password
你需要使用-
而不是–
.