錯誤信息:
20/06/14 14:46:04 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6
20/06/14 14:46:04 ERROR tool.BaseSqoopTool: Error parsing arguments for export:
20/06/14 14:46:04 ERROR tool.BaseSqoopTool: Unrecognized argument: --connetc
20/06/14 14:46:04 ERROR tool.BaseSqoopTool: Unrecognized argument: jdbc:mysql://hadoop02:3306/dblab
20/06/14 14:46:04 ERROR tool.BaseSqoopTool: Unrecognized argument: --username
20/06/14 14:46:04 ERROR tool.BaseSqoopTool: Unrecognized argument: root
20/06/14 14:46:04 ERROR tool.BaseSqoopTool: Unrecognized argument: --password
20/06/14 14:46:04 ERROR tool.BaseSqoopTool: Unrecognized argument: 123456
20/06/14 14:46:04 ERROR tool.BaseSqoopTool: Unrecognized argument: --table
20/06/14 14:46:04 ERROR tool.BaseSqoopTool: Unrecognized argument: user_action
20/06/14 14:46:04 ERROR tool.BaseSqoopTool: Unrecognized argument: --export-dir
20/06/14 14:46:04 ERROR tool.BaseSqoopTool: Unrecognized argument: /user/hive/warehouse/dblab.db/user_action
20/06/14 14:46:04 ERROR tool.BaseSqoopTool: Unrecognized argument: --fields-terminated-by
20/06/14 14:46:04 ERROR tool.BaseSqoopTool: Unrecognized argument: \t
解決方法:我的命令裏面connect寫成了connetc,我在記事本中才看出來。