FTP Plug-in Stage question

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
benny.lbs
Participant
Posts: 125
Joined: Wed Feb 23, 2005 3:46 am

FTP Plug-in Stage question

Post by benny.lbs »

I have built a parallel job that contain FTP Plug-in stage, when the record count is less than 1000, it works well. But when it become larger, the following fatal message occur.
FTP_Plug_in_20,0: Failure during execution of operator logic
FTP_Plug_in_20,0: Fatal Error: Fatal: function 'ftp_put' failed
node_node1: Player 2 terminated unexpectedly.
repartition(0),1: Failure during execution of operator logic
repartition(0),1: Fatal Error: Unable to allocate communication resources
How to solve the problem ?

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

Post by chulett »

The best way to solve the problem is to not use the FTP stage. In its place, a script and plain ol' command line ftp will work every time. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
sachinkc
Participant
Posts: 34
Joined: Sat Apr 17, 2004 11:39 am
Location: USA

Re: FTP Plug-in Stage question

Post by sachinkc »

Craig is right. No use bringing in another layer.

But do you have any specific reasons to use FTPStage, which cannot be addressed with simple OS level FTP? Did you check whether the ids have necessary permission\ directoty names are OK\ disk space exists?

- Sachin
benny.lbs wrote:I have built a parallel job that contain FTP Plug-in stage, when the record count is less than 1000, it works well. But when it become larger, the following fatal message occur.
FTP_Plug_in_20,0: Failure during execution of operator logic
FTP_Plug_in_20,0: Fatal Error: Fatal: function 'ftp_put' failed
node_node1: Player 2 terminated unexpectedly.
repartition(0),1: Failure during execution of operator logic
repartition(0),1: Fatal Error: Unable to allocate communication resources
How to solve the problem ?

Thanks a lot !
Rgrds & Cheers!

Sachin
sachin@operamail.com
~Life always finds a way~
dsxuserrio
Participant
Posts: 82
Joined: Thu Dec 02, 2004 10:27 pm
Location: INDIA

Post by dsxuserrio »

Benny
Looks like the ftp stage is using too many communication resources. Did you try using sequential mode?? That might help.
dsxuserrio

Kannan.N
Bangalore,INDIA
benny.lbs
Participant
Posts: 125
Joined: Wed Feb 23, 2005 3:46 am

Post by benny.lbs »

Why I use ftp stage? because as you know, we can not edit a Dataset data (only can be viewed), so I want to transfer the DS file to PC in ASCII Text format, that I can edit the data to fulfill my testing cases. And then ftp back to AIX DS file.

sachinkc, both the permission and disk space are ok.

dsxuserrio, i will have a try your suggestion.

Thanks all of you !!!
Post Reply