Warning : Unbalanced input

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
Havoc
Participant
Posts: 110
Joined: Fri Nov 24, 2006 8:26 am

Warning : Unbalanced input

Post by Havoc »

I have a Job Design which looks like this

Code: Select all


INCOMING->Merge->Merge-(hash,unique sort)->Lookup->rest->DataSet

All Merges and Lookups have a DB2 API stage as the master link and reference link respectively. Lookup stage and DB2 API stages are constrained to 1 node.


I'm getting the following warnings which werent issued before:

Code: Select all

APT_ParallelSortMergeOperator,0: Unbalanced input from partition 0: 10000 records buffered
APT_ParallelSortMergeOperator,0: (no further unbalance warnings will be issued for this partition)
APT_ParallelSortMergeOperator,0: Unbalanced input from partition 2: 10000 records buffered
APT_ParallelSortMergeOperator,0: (no further unbalance warnings will be issued for this partition)
Three other jobs append to the dataset created in this job(in Overwrite) mode. The weird thing is, if the dataset is deleted and this job is run , the warning is NOT issued. But if this job is re-run after the other three jobs have run(without dataset delete) then this warning is being issued.

Any idea why this would be happening? I tried other search results but couldnt see how I could apply the provided solutions to this problem.

Thanks in advance :)
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

The type of partition that you have chosed might cause the data to be unequally partitioned. And is the other job which uses the dataset, as different nood pool configuration?
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
Ragunathan Gunasekaran
Participant
Posts: 247
Joined: Mon Jan 22, 2007 11:33 pm

Re: Warning : Unbalanced input

Post by Ragunathan Gunasekaran »

Hi ,
Just check the partition type that you have chosen for the master link as DB2 and check whether the partition type for the reference link is entire or Auto ( By default reference stages would have a Entire partitioning).

The dataset also stores the partition information .Hence while you write the data to the dataset with imbalanced partitions then datastage may issue an warning due to that imbalanced partition write .
Regards
Ragu
Post Reply