[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Enabling the Transfer of Files Specified by a URL



Hi,
I have copied your script in my home and typed chmod 777 curl-plugin.

So I creat this job file:

Executable=/bin/cat
Universe=vanilla
output=loop.out
error=loop.error
Log=loop.log
Arguments= hello.txt
should_transfer_files=YES
when_to_transfer_output=ON_EXIT
transfer_input_files=http://localhost/hello.txt
Queue

hello.txt contains "hello world"

I have added this lines in condor_config:
FILETRANSFER_PLUGINS= /home/condor/curl-plugin
ENABLE_URL_TRANSFERS = TRUE


I submit the job but I receive this error:
---
004.000:  Request is held.

Hold reason: Error from server.tirocinio: STARTER at 127.0.1.1 failed to receive file /home/condor//execute/dir_3822/ciao.txt: FILETRANSFER:1:FILETRANSFER: plugin for type http not found!


What is the problem?
Thanks a lot.
So I submit job
--- Lun 26/4/10, Zachary Miller <zmiller@xxxxxxxxxxx> ha scritto:

Da: Zachary Miller <zmiller@xxxxxxxxxxx>
Oggetto: Re: [Condor-users] Enabling the Transfer of Files Specified by a URL
A: "Condor-Users Mail List" <condor-users@xxxxxxxxxxx>
Data: Lunedì 26 Aprile 2010, 18:14

On Mon, Apr 26, 2010 at 10:15:14AM +0000, michele pierri wrote:
>
> I have understand that I have to set ENABLE_URL_TRANSFERS = TRUE in
> $CONDOR_CONFIG file, and the FILETRANSFER_PLUGINS = path.
>
> But what is the path for this plugins?

this is the path to the plugin itself.


> Have I to write myself this script? How?

i thought there was an example in the manual, but i just looked and i see there
is not.  attached you can find a very simple plugin that uses curl to support
http, ftp, and file URLs.

just set FILETRANSFER_PLUGINS to point to that script.  let me know if you
have any trouble.


cheers,
-zach


-----Segue allegato-----

_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/