Hi,
I have an multi-instance job. This job runs with invocation ID A and B.
At a time 2 instances of the same job will be running. The issue is , if the job instance A is running and Job with instance B kicks of before instance A completes then the Job with instance B fails. Since its a multi -instance the job with two instances should run rather than failing. If I try to run 1 instance at a time then the job runs fine.
Please help me to find the issue.
Thanks
Hope
Issue regarding a multi instance job
Moderators: chulett, rschirm, roy
What does the job do? What resources does it use? There's more to making a job multi-instance than simply checking that box, you must account for the fact that it will be running multiple invocations in the design itself. Resources that would be 'shared' across multiple instances would typically have the invocation id value incorporated into their name to avoid conflicts - for example, if you write to a flat file you might end up with filename_A and filename_B after both complete. So...
Some information to allow us to help you: When Job Invocation B fails, what error message(s) does it log? What does the job do? Detail for us the job design.
Some information to allow us to help you: When Job Invocation B fails, what error message(s) does it log? What does the job do? Detail for us the job design.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
We don't see anything in Director. The job start failed
The unix logs show the below
Status code = 0
Job Status : RUNNING (0)
Checking job execution type . . .
Multi Instance Job: N
Examining job status . . .
Performing needed reset action . . .
Job appears to be running, or is not compiled.
dsjob_launch ERROR 50: Job reset step failed, status was not initialized.
DataStage job status: Job Status : RUNNING (0)
Job XXXX not launched.
Job Status : RUNNING (0)
we are using 1 node configuration file. The job is reading data from a table and generating an XML. The job has 15 stages, a few Transformers and few join stages and writes the data to an XML file.
The unix logs show the below
Status code = 0
Job Status : RUNNING (0)
Checking job execution type . . .
Multi Instance Job: N
Examining job status . . .
Performing needed reset action . . .
Job appears to be running, or is not compiled.
dsjob_launch ERROR 50: Job reset step failed, status was not initialized.
DataStage job status: Job Status : RUNNING (0)
Job XXXX not launched.
Job Status : RUNNING (0)
we are using 1 node configuration file. The job is reading data from a table and generating an XML. The job has 15 stages, a few Transformers and few join stages and writes the data to an XML file.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Since the entry shows "Multi Instance Job: N" I'd assert that you do not even have a multi-instance job. Checking the box is not enough - you have to re-compile in order for the change (from not multi-instance to multi-instance) to take effect.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.