[Swift-user] "Could not find valid host" on tutorial examples
Dave Dykstra
dwd at fnal.gov
Wed Feb 16 16:54:15 CST 2011
I have been getting the following error on both the tutorial 3.6.1 regexp
mapper and 3.6.2 fixed array mapper example:
Swift svn swift-r3826 cog-r2988
RunID: 20110216-1644-pddxkqn3
Progress:
Execution failed:
Could not find any valid host for task "Task(type=UNKNOWN, identity=urn:cog-1297896282664)" with constraints {tr=wc, filenames=[Ljava.lang.String;@3465b738, trfqn=wc, filecache=org.griphyn.vdl.karajan.lib.cache.CacheMapAdapter at 1dfd868}
For completeness, here's the fixedarray.swift that the above error was
generated from, as taken directly from swift-0.91/examples/swift:
type messagefile {}
type countfile {}
(countfile t) countwords (messagefile f) {
app {
wc "-w" @filename(f) stdout=@filename(t);
}
}
string inputNames = "one.txt two.txt three.txt";
string outputNames = "one.count two.count three.count";
messagefile inputfiles[] <fixed_array_mapper;files=inputNames>;
countfile outputfiles[] <fixed_array_mapper;files=outputNames>;
outputfiles[0] = countwords(inputfiles[0]);
outputfiles[1] = countwords(inputfiles[1]);
outputfiles[2] = countwords(inputfiles[2]);
At this stage in my experience with swift I have no idea what to do
about it, can anyone here help?
- Dave
More information about the Swift-user
mailing list