[Swift-user] Re: [falkon-user] 1) disable retry mechanism and 2) continue on failure?
Ben Clifford
benc at hawaga.org.uk
Mon Mar 31 02:34:23 CDT 2008
On Mon, 31 Mar 2008, Ben Clifford wrote:
> This temporary directory handling is pretty ugly - it should be a couple
> lines change to wrapper.sh to get similar functionality using the existing
> swift temporary direcotry handling - change the path to /tmp and use cp
> instead of ln -s. That way you can take advantage of Swift's existing
> unique job IDs and error handling too.
Attached are three patches that will apply against svn r1775:
The first puts temporary directories in /tmp rather than on shared fs.
http://www.ci.uchicago.edu/~benc/tmp/wrapper-tmp-dirs-on-tmp
The second copies the application file to the worker in each job execution
(though doesn't do any worker-node caching of such between jobs)
http://www.ci.uchicago.edu/~benc/tmp/wrapper-tmp-dirs-mv-executable
The third creates the worker node log on /tmp and copies it at the end.
http://www.ci.uchicago.edu/~benc/tmp/wrapper-tmp-log-locally
The three modify all wrapper.sh and should be applied in the above order.
With the first two patches, the timestamps in the usual info logs will
provide information about how long the copies take, in the same way that
they usually indicate times for other execution stages.
--
More information about the Swift-user
mailing list