[Swift-user] running swift .... on ssh
wilde at mcs.anl.gov
wilde at mcs.anl.gov
Sat Mar 20 18:26:24 CDT 2010
Vipul,
You need to add an entry to tc.data for the app "echo" on your two "sites", globus1 and globus2. The message is saying Swift is trying to run app "echo" and there are no sites listed in tc.data where that app exists.
Easiest way: copy swifts's etc/tc.data file to the directory in which you are running the swift command, and replicate the localhost entry for echo twice, for these two test sites.
Be sure to use *tabs* as the separator; the parser is picky for historical reasons (to be fixed).
Then use the "swift -tc.file tc.data" option to make swift use your updated tc.
- Mike
----- "Vipul Kumar Singh" <vipulkrsingh at gmail.com> wrote:
> hi
>
> I have two system with swift setup (as per instruction on downloads
> page of http://www.ci.uchicago.edu/swift );
> Both systems have user accounts with same name (globus) and configured
> to login via ssh without password..
>
> system1 is 192.168.56.102 globus1.vitu.org
> system2 is 192.168.56.103 globus2.vitu.org
>
> I get following error doing : swift first.swift
>
> Swift svn swift-r3264 cog-r2730
>
> RunID: 20100321-0050-e4cat3jf
> Progress:
> Execution failed:
> Could not find any valid host for task "Task(type=UNKNOWN,
> identity=urn:cog-
> 1269112861163)" with constraints {tr=echo,
> filenames=[Ljava.lang.String;@5e1077, trfqn=echo,
> filecache=org.griphyn.vdl.karajan.lib.cache.CacheMapAdapter at 181ed9e}
>
>
> sites.xml :-------------------------------------
>
> <config>
> <pool handle="globus1">
> <filesystem url=" globus1.vitu.org " provider="ssh" />
> <execution url=" globus1.vitu.org " provider="ssh" />
> <workdirectory >/home/globus/tmp</workdirectory>
> <profile namespace="karajan" key="jobThrottle">0</profile>
> </pool>
>
>
> <pool handle="globus2">
> <filesystem url=" globus2.vitu.org " provider="ssh" />
> <execution url=" globus2.vitu.org " provider="ssh" />
> <workdirectory >/home/globus/tmp</workdirectory>
> <profile namespace="karajan" key="jobThrottle">0</profile>
> </pool>
> </config>
>
>
>
> Haven't changed any thing in swift.properties except
>
> hostname= globus1.vitu.org
>
> tc.data -----------------------------------------------
> #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 grep /bin/grep INSTALLED INTEL32::LINUX null
> localhost sort /bin/sort INSTALLED INTEL32::LINUX null
> localhost paste /bin/paste INSTALLED INTEL32::LINUX null
>
>
> swift.log
> file--------------------------------------------------------------------------------
> 2010-03-19 21:48:28,359+0530 DEBUG Loader Loader started
> 2010-03-19 21:48:40,308+0530 DEBUG Loader Loader started
> 2010-03-19 21:52:45,812+0530 DEBUG Loader Loader started
> 2010-03-20 23:28:16,738+0530 DEBUG Loader Loader started
> 2010-03-20 23:33:52,976+0530 DEBUG Loader Loader started
> 2010-03-20 23:37:05,687+0530 DEBUG Loader Loader started
> 2010-03-20 23:38:45,994+0530 DEBUG Loader Loader started
> 2010-03-21 00:23:50,310+0530 DEBUG Loader Loader started
> 2010-03-21 00:25:05,131+0530 DEBUG Loader Loader started
> 2010-03-21 00:49:47,095+0530 DEBUG Loader Loader started
> 2010-03-21 00:50:46,013+0530 DEBUG Loader Loader started
>
> Vipul Kumar Singh
>
> _______________________________________________
> Swift-user mailing list
> Swift-user at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-user
--
Michael Wilde
Computation Institute, University of Chicago
Mathematics and Computer Science Division
Argonne National Laboratory
More information about the Swift-user
mailing list