Question


Please tell the concept of AbInitio recovery file.

When the Abinitio graph fails in execution which cases should we rollback the recovery file and in which cases we shouldnt rollback the recovery file.

Please provide links for any AbInitio materials.


Thanks.

Was it helpful?

Solution

The only time you would want to use the recovery file (.rec) is when you are executing a multi-phase graph and at least one phase has completed. You can then use the .rec file to restart the graph from the most recently completed phase.

However, you should only use the rec file if something external to the graph caused failure. Examples of this are: network going down, shared disk becoming unavailable or something similar. If you have a bug in your code and that cause failure, then you'll want to use m_rollback to remove both the rec file and any intermediate files ab initio created and start over.

Ab Initio does not publish their manuals, you will have to contact Ab Initio directly for materials.

OTHER TIPS

m_rollback with -d option will delete the job, its temporary files and the recovery file after the rollback is successful.

3 scenario can be happened for rec file.

1.When recovery file is corrupted or you have changed the input file or any config file of the graph to resolve any failure, have to rollback the recovery file with d option using below command. All the recovery files will be removed and job will start from beginning.

m_rollback -d rec_filename

2.If you need to rollback only the failure, the use only rollback command, job will start from beginning of failed component.

m_rollback rec_filename

3.If need to start the job from point of failure, then don't not rollback it. In load job scenario, it is used sometimes.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top