Skip to main content
Question

Scheduled task failed - JOBRUNNER Cannot change state for job

  • June 6, 2022
  • 2 replies
  • 96 views

Unable to execute a scheduled task on a running job. Getting the following error:

Error trying to STOP xxxxxxxx Error: JOBRUNNER_00 Cannot change state for job xxxxxxx

 

2 replies

Rishi
StreamSets Employee
Forum|alt.badge.img
  • StreamSets Employee
  • 96 replies
  • June 7, 2022

@feras.juma This error is expected when scheduler or via any means if you try to change the job status to the invalid state. 

i.e if the job is already in STOPPED STATE and you try to stop the job then you will see this kind of error.

Could you please verify what was job status before the schedular tries to STOP this job


  • Author
  • Fan
  • 1 reply
  • June 7, 2022

Hi Rishi, thanks alot for your prompt response. Actually I managed to figure out the issue, the use didn’t have the correct rights given to him to execute a scheduled task, once I added the required access right, it works.