Add one Java action before the sqoop one. And the Java action periodically check the Oracle log availability.
On Mon, Jul 25, 2016 at 7:42 PM, goun na <[email protected]> wrote: > Hi users, > > I am using Sqoop + Oozie to copy data from oracle table to HDFS. The > problem is synchronizing two jobs timely. One is Oracle dw batch job in > other team, and the other is Hadoop Sqoop job. Source data is generated by > a dw batch job in Oracle daily, and my sqoop job should start immediately > as soon as it is done. > > I've thought of using sqoop eval to check the batch log table in Oracle, > but it seems it is no more than print out the data. > > Can I make a conditional branch depend on the result like this? > If there is a successful log go to the next sqoop action, no log just make > it wait for several minutes. > > Thanks, > Goun Na >
