Import/Delete hangs up in Datastage designer

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
SachinCho
Participant
Posts: 45
Joined: Thu Jan 14, 2010 1:23 am
Location: Pune

Import/Delete hangs up in Datastage designer

Post by SachinCho »

Hi,
We are on v9.1.2 and trying to import few jobs after version control in pre-prod environment. Issue is that whenever we import pre-existing job, process hangs at window "clearing job". Nothing happens after that and I need to close the session through task manager. If I try to delete job from designer result is same. It hangs up. One obsrvation is that if its a new job it gets imported successfully

What we have done so far
1) Executed syncproject.sh which gave few corrupted jobs. We removed them using IBM's standard steps. using bin/uvsh, then deleting RT* files, and then RIDs
2) Ran DS.CHECKER...few old files popped up asking to delete. Deleted those
3) executed DS.REINDEX ALL
4) DSImport.sh from ASBNode/bin - this command is executing well and job gets imported as many times we want by overwrite mode
5) We have services tier and two DSEngines are hosted on one. We are facing this issue only on one of DSEngines and other DSEngine its working fine
6) On our remote machine where DS clients are installed I could see some exceptions in file called as orbtrc.02072014.1541.36.txt - "org.omg.CORBA.OBJECT_NOT_EXIST: SERVANT_NOT_FOUND (4) for key"

Any pointers ??

Thanks,
Sachin
Sachin C
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

That is an odd problem. Can you manually delete a job from the designer/director that causes a hang, and then successfully import that job? That might rule out internal locking issues. On a related note, did you re-boot the server(s) after doing all that maintenance work?
SachinCho
Participant
Posts: 45
Joined: Thu Jan 14, 2010 1:23 am
Location: Pune

Post by SachinCho »

Hi,
We are not able to delete a job that is causing the problem from designer/director. That process also hungs up.

And I missed out in earlier post that we have already rebooted DSengine, and WAS on services tier as well.

One more observation is that on services tier we did notice similar expection of COBRA OBJECT NOT FOUND on services tier as well in startup logs somewhere.
Sachin C
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

In order to simplify the analysis, can you rename the job, or does that hang as well?
SachinCho
Participant
Posts: 45
Joined: Thu Jan 14, 2010 1:23 am
Location: Pune

Post by SachinCho »

Hi,
we are not able to rename also. Just noticed below error while doing so after the process hung. Rename/Delete/Import all does not work

IBM.DataStage.RepositoryAccess.ReposAccessException: Error opening file EDW_JPR_DWM_PRODUCT_DIM

Talking to official service provider as well. But havent got any concrete solution yet
Sachin C
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

You have problems in your repository structure, it is still corrupted. I think that your support provider might suggest a complete export, project deletion & re-creation; I would recommend that as well. Even though it is a lot of work, the total effort will be less than spending a lot of time trying to find the and fix the problem.
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

Look at your group permissions under the project directories.

ensure that someone is not locking some stuff under HA_STATUS as well.
SachinCho
Participant
Posts: 45
Joined: Thu Jan 14, 2010 1:23 am
Location: Pune

Post by SachinCho »

Hi Guys,
Thanks for your responses so far. We had a look at HA_STATUS as well and did not find anything there except a single old file. That was deleted too ! Directories under projects directory also looks good in terms of group permissions etc

Still talking to service provider as well.
Last edited by SachinCho on Wed Jul 23, 2014 4:21 pm, edited 1 time in total.
Sachin C
SachinCho
Participant
Posts: 45
Joined: Thu Jan 14, 2010 1:23 am
Location: Pune

Post by SachinCho »

Hi Guys,
Looks like we have got the root cause for this issue.

We have a SFTP script scheduled in crontab which polls for files 24/7 and it uses internally "at command". It looks like we had failure of at daemon and due to this there was huge list of pending processes. Every day it was adding like 15 to 20K processes. So wehn we used at -l command it gave us output of 290000 processes.
As per discussion with official service provider, we came to a conclusion that datastage import of already existing job in repository was scanning this list of at -l processes and due to such huge number it was hanging.

Steps followed to resolve
1. Cleaned up all processes in at -l listing
2. Started at daemon again
3. Now datastage Import/delete works fine

Questions unanswered at the moment
1. Why datastage job import process looks at scanning these process

I am marking topic as resolved.

Thanks !
Sachin C
Post Reply