Error in PX JOB :cannot preserve the partitioning

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
ravibabu
Participant
Posts: 39
Joined: Tue Feb 13, 2007 12:18 am
Location: vijayawada

Error in PX JOB :cannot preserve the partitioning

Post by ravibabu »

Hi,

Please help me out from below warring.I am getting below warring when i am running a job in PX.

sff_Member_DAT: When checking operator: A sequential operator cannot preserve the partitioning
of the parallel data set on input port 0.
JoshGeorge
Participant
Posts: 612
Joined: Thu May 03, 2007 4:59 am
Location: Melbourne

Post by JoshGeorge »

This happens when a parallel partitioning is collected to a sequential stage. In director add message handler to demote the warnings into info. "Suppress from log" :)
Joshy George
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
Maveric
Participant
Posts: 388
Joined: Tue Mar 13, 2007 1:28 am

Post by Maveric »

You need to set the preserve partitioning property to clear in the stage before the stage that is giving this warning. This property tells the next stage to preserve the partitioning and if the next stage by default runs in sequential mode then it throws this warning.
keshav0307
Premium Member
Premium Member
Posts: 783
Joined: Mon Jan 16, 2006 10:17 pm
Location: Sydney, Australia

Post by keshav0307 »

you can not have partitioned Sequential file, so if your previous stage is also sequential then you will not get this warning, but if the previous stage is running parallel then You need to set the preserve partitioning property to clear in the Previous stage
JoshGeorge
Participant
Posts: 612
Joined: Thu May 03, 2007 4:59 am
Location: Melbourne

Post by JoshGeorge »

Consider 'clear partition' in the previous stage only if a sequential stage is your only target stage. If your records are further being forwarded to different stages which does parallel processing and is working on the previous partition, you can consider putting a copy stage before your sequential stage and do clear partition there. Suppressing from log stands a good option in other case.

You can see a good discussion here:

viewtopic.php?t=95035&highlight=clear+partition
Joshy George
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
Post Reply