err in job when the col gen stage execution mode is parallel

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
rsrikant
Participant
Posts: 58
Joined: Sat Feb 28, 2004 12:35 am
Location: Silver Spring, MD

err in job when the col gen stage execution mode is parallel

Post by rsrikant »

In my job i am writing from the lookup rejects link to a col generator and then to transformer and finally to a sequential stage.

I have a constraint on the transformer stage to abort the job after 1 row is rejected from lookup stage and this 1 row should be written into the sequential file before the job aborts.

lookup --------> col generator --------> transformer --------> Seq. File

This job runs inconsistently. Sometimes the job aborts by writing the 1 row in to the sequential file and sometimes it aborts with out writing into the sequential file. I am running it in multinode with $APT_BUFFERING_POLICY environment variable set to force buffering. The col generator stage execution mode is parallel. In the sequential stage options "Cleanup on failure" is set to false.

We have few more jobs like this but all of them runs fine except this one. I don't see any difference between this job and other jobs that are running fine.

Finally after some trial and error i changed the col generator stage from parallel to sequential. After changing this, the job aborts properly everytime by writing the 1 row in to the sequential file.

Any idea on what's happening?? Why it is not behaving as expected when the col generator execution mode is set to parallel?

Thanks in advance.

Srikanth
mandyli
Premium Member
Premium Member
Posts: 898
Joined: Wed May 26, 2004 10:45 pm
Location: Chicago

Post by mandyli »

Hi

This is not releated to col gen problem. I am also faced same kind of problem but I changed the col generator stage from parallel to sequential mode then no error and warning. I am not sure about $APT_BUFFERING_POLICY environment variable. What is use of $APT_BUFFERING_POLICY variable.

Thanks ..
Post Reply