Details
-
Fix
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When configuring a Job Scheduler Cluster for Loadbalancing, the distributed Job chains can not be seen in the operations gui. There appears the message [ERROR SCHEDULER-376 [sos::scheduler::order::Job_chain::number_of_touched_orders]]
When creating some orders, Job Scheduler crashes.
Here is the job which creates the orders
<?xml version="1.0" encoding="ISO-8859-1"?>
<job>
<script language="javascript">
<![CDATA[
function spooler_process(){
for (i = 1; i < 10; i++)
{
var o = spooler.create_order();
var j = spooler.job_chain("/test/job_chain");
j.add_order(o);
}
return false;
}
]]>
</script>
<run_time>
<period repeat="00:10:10"
begin="00:00"
end="24:00"/>
</run_time>
</job>
And the job chain
<?xml version="1.0" encoding="ISO-8859-1"?>
<job_chain orders_recoverable="yes"
visible="yes"
distributed="yes">
<job_chain_node state="100"
job="job2"
next_state="success"
error_state="error"/>
<job_chain_node state="success"/>
<job_chain_node state="error"/>
</job_chain>
And the job
<?xml version="1.0" encoding="ISO-8859-1"?>
<job order="yes"
stop_on_error="no">
<script language="shell">
<![CDATA[
dir
ping -n 1 localhost
]]>
</script>
<run_time/>
</job>
Attachments
Issue Links
- updates
-
JS-538 New attribut max_orders for element <job_chain> job_chain should be not run parallel
- Resolved