Details
-
Feature
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.10
-
None
Description
Implementation
- The Agent creates a file with the name kill_tasks_after_crash_<port>(.sh|.cmd) in the logs folder with <port> being the number of the port that the Agent listens to.
- For every task running on the Agent one line is added to this file that includes a call to the kill script:
"${SCHEDULER_HOME}/bin/jobscheduler_agent_kill_task.sh|.cmd" -kill-agent-task-id=<Agent Task ID>
- Parameters
- Agent Task ID
- Example
"${SCHEDULER_HOME}/bin/jobscheduler_agent_kill_task.sh" -kill-agent-task-id=123456781
- For every task running on the Agent one line is added to this file that includes a call to the kill script:
- For every task terminating its entry is removed from the running tasks list.
- Should an Agent crash then the running tasks list will contain one line for each running task and will be executed by the Agent start script (
JS-1552)
Attachments
Issue Links
- is related to
-
JS-1574 Agent crash kill script hands over masters's task ID and job path
- Released