Sqoop 1 doesn’t have a good programatic API sadly. Sqoop 2 on the other hand 
does, so you might want to give it a try :)

Jarcec

> On Feb 10, 2016, at 7:30 AM, Radhakrishnan Iyer 
> <radhakrishnan.i...@citiustech.com> wrote:
> 
> Hi
>  
> Can’t I get it programmatically or using sqoop metastore?
>  
> Best Regards,
> Radhakrishnan
>  
> From: Suresh Kumar Sethuramaswamy [mailto:rock...@gmail.com] 
> Sent: 10 February 2016 20:46
> To: user@sqoop.apache.org
> Subject: Re: Get number of records transfered
>  
> Hi
>  
> 1. Redirect the import logs to a file  
> 2. Grep for the count ( grep -oP 'Retrieved \K\d*' sqoop_import.log )
>  
>  
> Regards
> Suresh
> 
> On Wednesday, February 10, 2016, Radhakrishnan Iyer 
> <radhakrishnan.i...@citiustech.com> wrote:
> I am firing  sqoop1 command programmatically.
> Is there a mechanism wherein I can find the number of records transferred  
> job using the Sqoop job?
>  
> Best Regards,
> Radhakrishnan Iyer

Reply via email to