Support Questions

Find answers, ask questions, and share your expertise

Failure handling in sqoop

avatar
Contributor

Hi,

 

I have a sqoop jopb in order to transafer data from MySQL to hive with incremental import. Until now it is working fine but I want to ask how can I tell the job to rerun if it will fail? Is that possible?

I saw this article:

https://sqoop.apache.org/docs/1.4.6/SqoopUserGuide.html#validation

but i am not sure. Can someon give an example?

1 REPLY 1

avatar
Master Collaborator

Hi,

 

As i seen till now there is no such way to rerun the job automatically when it is failed, I think you have to rerun it manually as you do always.

 

If you want this type of behaviour you may need to create custom scripts as per your requirements.

 

Regards,

Chethan YM