hadoop - Using Sqoop incremental import as chunk-wise -


is possible import chunk-wise data through sqoop incremental import?

say have table rowid 1,2,3..... n (here n 100) , want import chunk. 1st import: 1,2,3.... 20 2nd import: 21,22,23.....40 last import: 81,82,83....100 

i have read sqoop job incremental import , know --last-value parameter not know how pass chunk size. above example, chunk size here 20.

i ended writing script modify parameter file new clause after each successful sqoop run. i'm running both through oozie coordinator. wanted use --boundary-query doesn't work chunk. that's why had work-around. details of work-around can found here:

http://tmusabbir.blogspot.com/2013/05/chunk-data-import-incremental-import-in.html


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -