执行此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:**
答案 0 :(得分:0)
在username
和password
参数之前检查前导破折号:您需要使用-
代替–
。