Thanks everyone for the replies!<br><br>David, you were right: I just needed to include the -config cf option when running Swift.<br><br>Best,<br>Carsen<br><br><div class="gmail_quote">On Sat, May 19, 2012 at 6:00 PM, David Kelly <span dir="ltr"><<a href="mailto:davidk@ci.uchicago.edu" target="_blank">davidk@ci.uchicago.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Carsen,<br>
<br>
When you set WORKER_LOCATION to a non-shared directory, you need to enable coaster provider staging. To do this, add a line to your coaster-service.conf that says:<br>
<br>
export SHARED_FILESYSTEM=no<br>
<br>
When you run start-coaster-service the next time, a file called 'cf' will be created. Then run swift with something like this:<br>
swift -sites.file sites.xml -tc.file tc.data -config cf myscript.swift<br>
<br>
I think this should do the trick, but please let me know if you run into anything else. I'll try to update the documentation to make this more clear.<br>
<br>
Regards,<br>
David<br>
<div class="HOEnZb"><div class="h5"><br>
----- Original Message -----<br>
> From: "Carsen Berger" <<a href="mailto:clberger@uchicago.edu">clberger@uchicago.edu</a>><br>
> To: <a href="mailto:swift-user@ci.uchicago.edu">swift-user@ci.uchicago.edu</a><br>
> Sent: Saturday, May 19, 2012 4:17:03 PM<br>
> Subject: [Swift-user] Running coasters on a bag of workstations<br>
> Hi all,<br>
><br>
> I'm trying to run coasters on a collection of commodity machines and<br>
> I'm running into some issues. The machines all share a common /home<br>
> directory on a NFS file system, so to give the coaster workers local<br>
> storage, I decided to set the WORKER_LOCATION directory to the local<br>
> /var/tmp on each machine.<br>
><br>
> Running start-coaster-service installs <a href="http://worker.pl" target="_blank">worker.pl</a> in /var/tmp just<br>
> fine, but then when we try to run a swift script it spits out a slew<br>
> of "No such file or directory" errors for all the files that the<br>
> worker is supposed to create. It seems as if coasters cannot write to<br>
> /var/tmp for whatever reason. Has anyone encountered a problem like<br>
> this before?<br>
><br>
> Note that setting WORKER_LOCATION to a directory in /home circumvents<br>
> this problem, but that solution won't work because we need a directory<br>
> that is local to each machine.<br>
><br>
> Thank you,<br>
> Carsen Berger<br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> Swift-user mailing list<br>
> <a href="mailto:Swift-user@ci.uchicago.edu">Swift-user@ci.uchicago.edu</a><br>
> <a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user" target="_blank">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user</a><br>
</div></div></blockquote></div><br>