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="gmail_quote">On Thu, Oct 27, 2011 at 2:57 PM, Michael Wilde <span dir="ltr"><<a href="mailto:wilde@mcs.anl.gov">wilde@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_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="h5"><br>
<br>
----- Original Message -----<br>
> From: "Emalayan Vairavanathan" <<a href="mailto:svemalayan@yahoo.com">svemalayan@yahoo.com</a>><br>
> To: <a 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 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>
<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 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>
</font></blockquote></div><br>