Abnormal termination of stage - Hash files

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
sankarsadasivan
Premium Member
Premium Member
Posts: 39
Joined: Tue Dec 23, 2003 3:47 am
Location: India

Abnormal termination of stage - Hash files

Post by sankarsadasivan »

Abnormal termination of stage
.CHashedFileStage336.IDENT5 detected

There is a problem with creation of hash files in one of the job.
The job fails with the above error. It faield writting 15894729 rows (2 columns). But the same job was running fine before with same amount of data.

Is it a problem with the size or data.

Any ideas? Please suggest.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

You should tell us what error message it failed with before you can get an answer. A common error is trying to write an empty key.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Point 1 - the problem is not with creation of the hashed file (note, it's "hashed", not "hash"). Your claiming that is it is can be misleading.

Point 2 - how large are the rows? Does this size of load get anywhere near 2GB of data? On the server find out the size of the DATA.30 and OVER.30 files associated with this hashed file.

Point 3 - has the hashed file become corrupted in any way? Execute a query against it (a simple count will suffice).

Point 4 - does your job design allow a NULL key to be attempted to be written? (Merely having not null in the Columns grid does not enforce anything - you need explicitly to prevent null keys from getting through.)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
maliaydin
Participant
Posts: 1
Joined: Tue Aug 09, 2005 1:31 am

Abnormal termination of stage - Hash Files

Post by maliaydin »

Hi,
While you are using a large data ( greater than 2 GB) Aggregator stage gives error due to the method option. Change the Aggreator stage method from hash to sort.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Welcome aboard, maliaydin. One thing to know here is this forum is for Server jobs and the first post in each thread should be marked the same. This means you'd need to stick to Server answers here. Answers relevant to PX jobs would belong over in the EE forum unless someone has specifically marked their question as a Parallel question. As there is no specific 'method' in a Server Aggregator stage, I'm assuming you've given a PX specific answer. Apologies if that's not the case. Plus I'm not sure why we're talking about that stage as it doesn't seem to be related to this post. :?

Anyway, just to finish this off, you can accomplish something similar in a Server Aggregator by pre-sorting the data in an order that supports the aggregation being done and then by asserting that Sort Order in the Aggregator.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ceenu
Participant
Posts: 7
Joined: Fri Jan 27, 2006 10:44 pm

Re: Abnormal termination of stage - Hash files

Post by ceenu »

Hi,

While you are using a large data Aggregator stage gives error due to the method option. Change the method option in the Aggreator stage to the SORT.
If you possible give us the exact error are you getting.

Thanks
cnu
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Ok... :roll:

Hello? [tap tap] Is this thing on?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

This thread began as a question about hashed files. I have no idea why people responded with thoughts on Aggregator stages.

We continue to await a response from sankarsadasivan to the questions posed about the job design, data and hashed file size.

Please begin a separate thread if you want to discuss Aggregator - it only confuses people searching the forum when threads get hijacked.

Moderator: can you untangle this thread into two?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply