[Swift-user] Swift-MosaStore integration problem

Michael Wilde wilde at mcs.anl.gov
Thu Oct 27 14:57:39 CDT 2011


Emalyan, can you use strace on the Swift jvm invocation to trave Java's systems calls, and debug it in that manner?

I suspect that Mosa is doing something that's not quite POSIX compliant, and confusing Java and hence Swift.

- Mike


----- Original Message -----
> From: "Emalayan Vairavanathan" <svemalayan at yahoo.com>
> To: swift-user at ci.uchicago.edu
> Sent: Thursday, October 27, 2011 2:35:13 PM
> Subject: [Swift-user] Swift-MosaStore integration problem
> Dear All,
> 
> 
> 
> 
> 
> 
> 
> When I try to run the HelloWorld.swift with MosaStore (MosaStore is a
> distributed storage developed by us) it is terminating with an error.
> 
> 
> 
> Here HelloWorld.swift script is copied into the MosaStore filesystem.
> Also Swift has write permission in the file system. Because it can
> create some temporary files (swift.log and
> first-20111026-1848-hmo97vu7.log). But then it prints the error below
> and terminates (I have attached the log files. I am using swift 0.93).
> 
> 
> 
> Max heap: 259522560
> Recompilation suppressed.
> Detailed exception:
> java.io.FileNotFoundException: /tmp/mount/dir1/first.kml (No such file
> or directory)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:137)
> at java.io.FileInputStream.<init>(FileInputStream.java:96)
> at java.io.FileReader.<init>(FileReader.java:58)
> at org.globus.cog.karajan.Loader.load(Loader.java:209)
> at org.griphyn.vdl.karajan.Loader.main(Loader.java:157)
> Could not start execution.
> /tmp/mount/dir1/first.kml (No such file or directory)
> 
> 
> It seems the Mosastore didnt receive any callback to create first.kml.
> I think, due to some reasons JVM assumes the storage is not available
> and terminate the swift program. So I am wondering whether you can
> provide any hint about this issue.
> 
> Also I would like to build the swift in debug mode in order to run it
> with jdb (to get more information). Please let me know how to build
> the swift in debug mode?
> 
> 
> Thank you
> Emalayan
> 
> 
> 
> 
> 
> _______________________________________________
> Swift-user mailing list
> Swift-user at ci.uchicago.edu
> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user

-- 
Michael Wilde
Computation Institute, University of Chicago
Mathematics and Computer Science Division
Argonne National Laboratory




More information about the Swift-user mailing list