Support Questions

Find answers, ask questions, and share your expertise

falcon replication - overlap

avatar
Rising Star

Trying to understand what happens if there is a scheduled Falcon replication that is running while another one starts? For example, if we have a hourly replication schedule and the one at T hour is still running, what happens if another one starts at T+1 hour?

1 ACCEPTED SOLUTION

avatar

Falcon supports feed replication and mirroring.

1> For Falcon feed replication, execution order is FIFO as this is based on feed/data avilability

2> For mirroring execution order is LAST_ONLY as replication job has to run only once to catch up

According to Oozie doc

execution: Specifies the execution order if multiple instances of the coordinator job have satisfied their execution criteria. Valid values are:
1> FIFO (oldest first) default 
2> LIFO (newest first)
3> ONLYLAST (discards all older materializations)

View solution in original post

3 REPLIES 3

avatar

Falcon supports feed replication and mirroring.

1> For Falcon feed replication, execution order is FIFO as this is based on feed/data avilability

2> For mirroring execution order is LAST_ONLY as replication job has to run only once to catch up

According to Oozie doc

execution: Specifies the execution order if multiple instances of the coordinator job have satisfied their execution criteria. Valid values are:
1> FIFO (oldest first) default 
2> LIFO (newest first)
3> ONLYLAST (discards all older materializations)

avatar
Rising Star

@Sowmya Ramesh thanks for your response. Not sure I understood it correctly. For example, in the case of feed replication, if the first replication job is submitted at time T and is still in progress and another replication job submitted at T+1 hour, do you intend to say that both of them complete one after the other without any overlap, in a FIFO fashion?

All I am trying to understand is would my feed replication / mirroring job have any adverse impacts if their scheduling is not handled properly i.e. scheduled too frequently which would cause overlap while execution

avatar

Yes, there won't be any overlap.