Job getting failed for 1 node

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
srini.dw
Premium Member
Premium Member
Posts: 186
Joined: Fri Aug 18, 2006 1:59 am
Location: Chennai

Job getting failed for 1 node

Post by srini.dw »

Hi,

Please need your help to resolve the below issue.
Job Design
ODBC Connector(SQL server) -> Copy Stage -> DataSet.

The job is running fine in the 2 node environment.
But when I run the job in 1 node, its getting failed with the below error.
Parallel job reports failure (code 139)
Below are the 2 node files as configured

Code: Select all

Twonode.apt
{
        node "node1"
        {
                fastname "RAP"
                pools ""
                resource disk "/apps/IBM/dataset1" {pools ""}
                resource scratchdisk "/apps/IBM/scratch" {pools ""}
        }
        node "node2"
        {
                fastname "RAP"
                pools ""
                resource disk "/apps/IBM/dataset2" {pools ""}
                resource scratchdisk "/apps/IBM/scratch" {pools ""}
        }
}


Onenode.apt
{
        node "Conductor"
        {
                fastname "PAR"
                pools "conductor"
                resource disk "/apps/IBM/dataset1" {pools ""}
                resource scratchdisk "/apps/IBM/scratch" {pools ""}
        }
}
Please let me know any issue with the configuration file for 1 node.

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

Post by chulett »

Did you try doing an exact search for "code 139"? There are 46 other posts on this subject, did none of them help?
-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 »

Is "PAR" really a hostname, or have you mis-spelled "RAP" in the one node configuration?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Or that. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
srini.dw
Premium Member
Premium Member
Posts: 186
Joined: Fri Aug 18, 2006 1:59 am
Location: Chennai

Post by srini.dw »

Thanks for the reply.

My mistake, 1node.apt is RAP

Code: Select all

Twonode.apt 
{ 
        node "node1" 
        { 
                fastname "RAP" 
                pools "" 
                resource disk "/apps/IBM/dataset1" {pools ""} 
                resource scratchdisk "/apps/IBM/scratch" {pools ""} 
        } 
        node "node2" 
        { 
                fastname "RAP" 
                pools "" 
                resource disk "/apps/IBM/dataset2" {pools ""} 
                resource scratchdisk "/apps/IBM/scratch" {pools ""} 
        } 
} 


Onenode.apt 
{ 
        node "Conductor" 
        { 
                fastname "RAP" 
                pools "conductor" 
                resource disk "/apps/IBM/dataset1" {pools ""} 
                resource scratchdisk "/apps/IBM/scratch" {pools ""} 
        } 
} 
We are using a grid configuration.

I have checked the other posts, its not much of help.

Any ideas will be appreciated.

Thanks,
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

In a grid environment, the APT configuration file is generated dynamically by the system. All you have to do is to specify "1" in the APT_GRID_COMPUTENODES parameter, then the job will run with just 1 node.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Your single node configuration lacks a default node pool name ("").
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
srini.dw
Premium Member
Premium Member
Posts: 186
Joined: Fri Aug 18, 2006 1:59 am
Location: Chennai

Post by srini.dw »

Thanks for the replies, will try out and let you know.
Post Reply