Issue
The following error appears:
Process for job will be killed after its state was changed from RUNNING to RETRY/FAILED.
Environment
Local Data Processing
Resolution
When this message has been written to the log, the scheduler is stopping the job named ‘name’ because the status of the job in the repository has been set to a non-running state such as FAILED or RETRY. The scheduler writes this message because the scheduler did not change the status. This message indicates that there is more than one scheduler running against the same repository.
To troubleshoot this issue, try the following:
-
Determine whether there is more than one scheduler running against the same repository.
The scheduler starts a couple of other processes. This displays in linux as follows:ps -ef | grep hvrsched
oracle 4599 4562 0 19:33 ? 00:00:00 hvrscheduler -h oracle hvrhub/!{Qb/Q.KqR}!
oracle 4600 4599 0 19:33 ? 00:00:00 hvrscheduler -swork -Rhvr_scheduler -horacle hvrhub/!{Qb/Q.KqR}!
oracle 4602 4599 0 19:33 ? 00:00:00 hvrscheduler -slisten -horacle hvrhub/!{Qb/Q.KqR}!
If another scheduler is running on the same machine, then you will find two scheduler process trees (6 processes). If the repository has been used in another configuration, it could be running on a different machine. -
If it is not clear which of the schedulers is the correct scheduler, kill all the schedulers found by stopping the scheduler in the GUI and/or at the command line. There are two command line methods for stopping the scheduler:
hvrscheduler -k hvrhub/!{Qb/Q.KqR}!
ORkill -9 4599
-
Restart the scheduler(s) correctly