在cloudera 5.8.0中,Sqoop无法使用update-mode导出

时间:2017-04-18 15:22:45

标签: sqoop

sqoop export --connect jdbc:oracle:thin:@ // xxxx --username xxxxx --password xxxxxxx --table xxxx --update-mode allowinsert --update-key xxxxx --export-dir xxxx --input-fields-terminated-by','

1 个答案:

答案 0 :(得分:1)

这是Sqoop中的一个错误,它在版本1.4.7中得到修复。将数据导出到Oracle时,只有updateonly更新模式才能正常工作。请参阅SQOOP-2990

相关问题