<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi Tim,</span></div><div><br><span></span></div><div> <span style="color: rgb(0, 96, 191);">/tmp/mount/dir1 exists before swift startup.</span></div><div><br><span style="color: rgb(0, 96, 191);"></span></div><div><span>Thank you.<br></span></div><div>Emalayan<br></div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Tim Armstrong <tim.g.armstrong@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> Michael Wilde <wilde@mcs.anl.gov><br><b><span style="font-weight: bold;">Cc:</span></b> Emalayan Vairavanathan <svemalayan@yahoo.com>; swift-user@ci.uchicago.edu<br><b><span
 style="font-weight: bold;">Sent:</span></b> Thursday, 27 October 2011 2:25 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Swift-user] Swift-MosaStore integration problem<br></font><br><div id="yiv849880874">Does the directory <span style="color:rgb(0, 96, 191);">/tmp/mount/dir1</span> exist before Swift starts up?  Is it created before the exception occurs?<br><br><div class="yiv849880874gmail_quote">On Thu, Oct 27, 2011 at 2:57 PM, Michael Wilde <span dir="ltr"><<a rel="nofollow" ymailto="mailto:wilde@mcs.anl.gov" target="_blank" href="mailto:wilde@mcs.anl.gov">wilde@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="yiv849880874gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex;">Emalyan, can you use strace on the Swift jvm invocation to trave Java's systems calls, and debug it in that manner?<br>

<br>
I suspect that Mosa is doing something that's not quite POSIX compliant, and confusing Java and hence Swift.<br>
<br>
- Mike<br>
<div><div></div><div class="yiv849880874h5"><br>
<br>
----- Original Message -----<br>
> From: "Emalayan Vairavanathan" <<a rel="nofollow" ymailto="mailto:svemalayan@yahoo.com" target="_blank" href="mailto:svemalayan@yahoo.com">svemalayan@yahoo.com</a>><br>
> To: <a rel="nofollow" ymailto="mailto:swift-user@ci.uchicago.edu" target="_blank" href="mailto:swift-user@ci.uchicago.edu">swift-user@ci.uchicago.edu</a><br>
> Sent: Thursday, October 27, 2011 2:35:13 PM<br>
> Subject: [Swift-user] Swift-MosaStore integration problem<br>
> Dear All,<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> When I try to run the HelloWorld.swift with MosaStore (MosaStore is a<br>
> distributed storage developed by us) it is terminating with an error.<br>
><br>
><br>
><br>
> Here HelloWorld.swift script is copied into the MosaStore filesystem.<br>
> Also Swift has write permission in the file system. Because it can<br>
> create some temporary files (swift.log and<br>
> first-20111026-1848-hmo97vu7.log). But then it prints the error below<br>
> and terminates (I have attached the log files. I am using swift 0.93).<br>
><br>
><br>
><br>
> Max heap: 259522560<br>
> Recompilation suppressed.<br>
> Detailed exception:<br>
> java.io.FileNotFoundException: /tmp/mount/dir1/first.kml (No such file<br>
> or directory)<br>
> at java.io.FileInputStream.open(Native Method)<br>
> at java.io.FileInputStream.<init>(FileInputStream.java:137)<br>
> at java.io.FileInputStream.<init>(FileInputStream.java:96)<br>
> at java.io.FileReader.<init>(FileReader.java:58)<br>
> at org.globus.cog.karajan.Loader.load(Loader.java:209)<br>
> at org.griphyn.vdl.karajan.Loader.main(Loader.java:157)<br>
> Could not start execution.<br>
> /tmp/mount/dir1/first.kml (No such file or directory)<br>
><br>
><br>
> It seems the Mosastore didnt receive any callback to create first.kml.<br>
> I think, due to some reasons JVM assumes the storage is not available<br>
> and terminate the swift program. So I am wondering whether you can<br>
> provide any hint about this issue.<br>
><br>
> Also I would like to build the swift in debug mode in order to run it<br>
> with jdb (to get more information). Please let me know how to build<br>
> the swift in debug mode?<br>
><br>
><br>
> Thank you<br>
> Emalayan<br>
><br>
><br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Swift-user mailing list<br>
> <a rel="nofollow" ymailto="mailto:Swift-user@ci.uchicago.edu" target="_blank" href="mailto:Swift-user@ci.uchicago.edu">Swift-user@ci.uchicago.edu</a><br>
> <a rel="nofollow" target="_blank" href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user</a><br>
<font color="#888888"><br>
--<br>
Michael Wilde<br>
Computation Institute, University of Chicago<br>
Mathematics and Computer Science Division<br>
Argonne National Laboratory<br>
<br>
_______________________________________________<br>
Swift-user mailing list<br>
<a rel="nofollow" ymailto="mailto:Swift-user@ci.uchicago.edu" target="_blank" href="mailto:Swift-user@ci.uchicago.edu">Swift-user@ci.uchicago.edu</a><br>
<a rel="nofollow" target="_blank" href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user</a><br>
</font></blockquote></div><br>
</div><br><br></div></div></div></body></html>