我发现在运行时重写sqoop作业属性时,只能覆盖一个属性。
示例1:如果我提交
sqoop job --exec test123 -- --query "select * from test where update_batch_id between 4 and 10 and \$CONDITIONS" -- --last-value 3 它仅重写查询属性。
示例2:如果我提交
sqoop job --exec test123 -- --last-value 3 -- --query "select * from test where update_batch_id between 4 and 10 and \$CONDITIONS" 它仅重写“查询”属性“最后值”属性。
发布于 2014-08-15 17:15:09
使用--一次指定您正在重写如下参数:
sqoop job --exec test123 -- --query "select * from test" --last-value 3目前,无法从命令行编辑保存的作业。
https://stackoverflow.com/questions/25330556
复制相似问题