Page 1 of 1

Unable to run job: -2 error in multi instance job

Posted: Fri Aug 16, 2013 4:19 am
by prasson_ibm
Hi,
I have a multi instence job and it runs for 12 instances but sometimes i get below error and job aborts.

Unable to run job - -2

I can not figure out how this is happening because same instance ran before successfully and when i reset that particular failed instence and rerun the job it fails again with same error.

Could someone focus one the reason and how to resolve it.

Posted: Fri Aug 16, 2013 6:51 am
by ArndW
This looks like an error when trying to run the same instance in parallel. Do all your instances use different instance names and do you make sure not to run the main job without an instance name?

Posted: Fri Aug 16, 2013 7:55 am
by prasson_ibm
Hi,
Yes my all instences are passed as a different variable and main job is not run without any instance.

Posted: Fri Aug 16, 2013 8:07 am
by chulett
Any chance you are using 'invalid' Invocation ID values for this one?

Posted: Fri Aug 16, 2013 10:02 am
by prasson_ibm
Hi,
I am not doing any validation in Invocation ID.

Posted: Fri Aug 16, 2013 10:27 am
by chulett
Not what I asked. Each instance you run is assigned a unique Invocation ID and there are documented values that it cannot contain. I'm guessing your error may be caused by that.

Posted: Fri Aug 16, 2013 1:52 pm
by prasson_ibm
Hi Chullet,

I am passing unique name in Invocation ID like
e.g.:-
DFTPM
DFTAM
DWHOPL
DWHAPL
etc.
It runs file but sometimes it fails with above error message.

Posted: Mon Aug 19, 2013 5:00 am
by BI-RMA
Do You use a Basic-Transformer in Your job?

If this is the case, please post the complete Error-message.

Posted: Mon Aug 19, 2013 6:22 am
by prasson_ibm
Yes i am using the basic tansformer stage.My job design is like below:-

Code: Select all

Read SeqFile----> SP -----> Filter ----error code=-1006 ----Basic Trans--->Aborter after 1 rows                   
                                                ------ErrorCode=0 -------Cpy stage(Success)
                                           
                                                ------Error<0 and <>-1006 -------> Basic Transformer---->(Abort After 1 Rows)

Below are the exact fatal error which i got during job run:-

Code: Select all

SEQFILE_READ_PAYLOAD,0: Filter status 256;
filter process failed: 1;
import error at record 0.
SEQFILE_READ_PAYLOAD,0: Import error at record 0.
SEQFILE_READ_PAYLOAD,0: The runLocally() of the operator failed.
 
TSFM_DUPCHK_FAIL,0: Unable to run job - -2.
TSFM_DUPCHK_FAIL,0: The runLocally() of the operator failed.
Even i reset the main job and tried to rerun,it again aborts with same error.When i compile the job it works fine.

Posted: Mon Aug 19, 2013 4:47 pm
by ray.wurlod
Add a reject link to the Sequential File stage to capture any row that does not comply with the defined metadata.