Sqoop job无法识别的参数:--merge-key

问题描述 投票:0回答:1

我正在尝试使用增量lastmodified创建一个Sqoop作业,但它会抛出ERROR工具.BaseSqoopTool:无法识别的参数:--merge-key。 Sqoop工作:

sqoop job --create ImportConsentTransaction - import --connect jdbc:mysql:// quickstart:3306 / production --table ConsentTransaction --fields-terminated-by'\ b'--incremental lastmodified --merge-key transactionId - check-column updateTime --target-dir'/ user / hadoop / ConsentTransaction'-last-value 0 --password-file /user/hadoop/sqoop.password --username user -m 1

hadoop sqoop
1个回答
-1
投票

添加--incremental lastmodified

© www.soinside.com 2019 - 2024. All rights reserved.