[Swift-devel] (no subject)
Dr. Raffaele Montella
raffaele.montella at uniparthenope.it
Wed Dec 5 11:40:26 CST 2007
Hi!
I'm learning how to configure swift, developing swift workflows and I hope
contribute to the development as soon.
I installed Swift on a machine at CI where I have certificates in order to
execute on two machine at my home University in Naples.
On this two machine is installed GT4.0.5 with the gatekeeper up and running.
I can run jobs from floater-245.ci.uchicago.edu to data.uniparthenope.it
using globus-job-run and perform gridftp operations as here:
infonav at floater-245:~/swift$ globus-url-copy
file:////home/infonav/swift/hostname.swift
gsiftp://data.uniparthenope.it//tmp/hostname.swift
infonav at floater-245:~/swift$ globus-url-copy
gsiftp://data.uniparthenope.it//tmp/hostname.swift
file:////tmp/hostname.swift
infonav at floater-245:~/swift$ ls /tmp
VMW hostname.swift hsperfdata_globus hsperfdata_infonav mc-infonav
swift.log x509up_u1001
infonav at floater-245:~/swift$ globus-job-run data.uniparthenope.it
/bin/hostname
data.uniparthenope.it
I configured my sites.xml in that way:
<config>
<!-- sites.xml specifies details of the sites that Swift can run on.
The first entry entry, for localhost, should work on most linux-like systems
without any change.
It may be necessary to change the two occurences of /var/tmp to a different
working directory.
-->
<pool handle="localhost" sysinfo="INTEL32::LINUX">
<gridftp url="local://localhost" storage="/var/tmp" major="1" minor="0"
patch="0" />
<execution provider="local" url="none" />
<workdirectory >/var/tmp</workdirectory>
</pool>
<pool handle="data" sysinfo="INTEL32::LINUX">
<gridftp url="gsiftp://data.uniparthenope.it" storage="/tmp" major="2"
minor="2" patch="4">
</gridftp>
<jobmanager universe="vanilla"
url="data.uniparthenope.it/jobmanager-fork" major="2" minor="2" patch="4" />
<workdirectory >/tmp</workdirectory>
</pool>
<pool handle="dgbeobi" sysinfo="INTEL32::LINUX">
<gridftp url="gsiftp://dgbeobi.uniparthenope.it" storage="/tmp"
major="2" minor="2" patch="4">
</gridftp>
<jobmanager universe="vanilla"
url="dgbeobi.uniparthenope.it/jobmanager-fork" major="2" minor="2" patch="4"
/>
<workdirectory >/tmp</workdirectory>
</pool>
</config>
And my tc.data as the following:
#This is the transformation catalog.
#
#It comes pre-configured with a number of simple transformations with
#paths that are likely to work on a linux box. However, on some systems,
#the paths to these executables will be different (for example, sometimes
#some of these programs are found in /usr/bin rather than in /bin)
#
#NOTE WELL: fields in this file must be separated by tabs, not spaces; and
#there must be no trailing whitespace at the end of each line.
#
# sitename transformation path INSTALLED platform profiles
localhost echo /bin/echo INSTALLED
INTEL32::LINUX null
localhost cat /bin/cat INSTALLED
INTEL32::LINUX null
localhost ls /bin/ls INSTALLED
INTEL32::LINUX null
localhost wc /bin/wc INSTALLED
INTEL32::LINUX null
localhost grep /bin/grep INSTALLED
INTEL32::LINUX null
localhost sort /bin/sort INSTALLED
INTEL32::LINUX null
localhost paste /bin/paste INSTALLED
INTEL32::LINUX null
localhost terrain /home/infonav/Germana/swift/do_terrain INSTALLED
INTEL32::LINUX null
data hostname /bin/hostname INSTALLED
INTEL32::LINUX null
dgbeobi date /bin/date INSTALLED
INTEL32::LINUX null
Using both the hostname.swift.
type file;
(file ofile)hostname() {
app { hostname; }
}
file ofile <"hostname.txt">;
ofile = hostname();
.and date.swift code.
type file;
(file ofile)date() {
app { date; }
}
file ofile <"date.txt">;
ofile = date();
I receive the following error in job cleanup:
Swift v0.3 r1319 (modified locally)
RunID: 20071204-2116-xvhkcj88
hostname started
Failed to clean up job
java.lang.IllegalStateException: No registered callback handler for
org.globus.gsi.gssapi.GlobusGSSCredentialImpl at 11b92ef
at
org.globus.cog.abstraction.impl.execution.gt2.CallbackHandlerManager.decreas
eUsageCount(CallbackHandlerManager.java:33)
at
org.globus.cog.abstraction.impl.execution.gt2.JobSubmissionTaskHandler.clean
up(JobSubmissionTaskHandler.java:482)
at
org.globus.cog.abstraction.impl.execution.gt2.JobSubmissionTaskHandler.statu
sChanged(JobSubmissionTaskHandler.java:475)
at org.globus.gram.GramJob.setStatus(GramJob.java:184)
at org.globus.gram.GramCallbackHandler.run(CallbackHandler.java:176)
at java.lang.Thread.run(Thread.java:619)
Failed to clean up job
java.lang.IllegalStateException: No registered callback handler for
org.globus.gsi.gssapi.GlobusGSSCredentialImpl at 11b92ef
at
org.globus.cog.abstraction.impl.execution.gt2.CallbackHandlerManager.decreas
eUsageCount(CallbackHandlerManager.java:33)
at
org.globus.cog.abstraction.impl.execution.gt2.JobSubmissionTaskHandler.clean
up(JobSubmissionTaskHandler.java:482)
at
org.globus.cog.abstraction.impl.execution.gt2.JobSubmissionTaskHandler.statu
sChanged(JobSubmissionTaskHandler.java:475)
at org.globus.gram.GramJob.setStatus(GramJob.java:184)
at org.globus.gram.GramCallbackHandler.run(CallbackHandler.java:176)
at java.lang.Thread.run(Thread.java:619)
Failed to clean up job
java.lang.IllegalStateException: No registered callback handler for
org.globus.gsi.gssapi.GlobusGSSCredentialImpl at 11b92ef
at
org.globus.cog.abstraction.impl.execution.gt2.CallbackHandlerManager.decreas
eUsageCount(CallbackHandlerManager.java:33)
at
org.globus.cog.abstraction.impl.execution.gt2.JobSubmissionTaskHandler.clean
up(JobSubmissionTaskHandler.java:482)
at
org.globus.cog.abstraction.impl.execution.gt2.JobSubmissionTaskHandler.statu
sChanged(JobSubmissionTaskHandler.java:475)
at org.globus.gram.GramJob.setStatus(GramJob.java:184)
at org.globus.gram.GramCallbackHandler.run(CallbackHandler.java:176)
at java.lang.Thread.run(Thread.java:619)
hostname failed
Execution failed:
Exception in hostname:
Arguments: []
Host: data
Directory: hostname-20071204-2116-xvhkcj88/hostname-vg2dq1li
stderr.txt:
stdout.txt: data.uniparthenope.it
----
Caused by:
The following output files were not created by the application:
hostname.txt
What do you think about it?
Do you have some suggestions?
I attached to this mail both files on floater-245 and data.
Thank you in advance.
Raffaele
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20071205/fdbc9f4b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hostnameOnData.tar.gz
Type: application/octet-stream
Size: 3713 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20071205/fdbc9f4b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swiftOnFloater-245.tar.gz
Type: application/octet-stream
Size: 7840 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20071205/fdbc9f4b/attachment-0001.obj>
More information about the Swift-devel
mailing list