[Swift-user] Swift-MosaStore integration problem
Emalayan Vairavanathan
svemalayan at yahoo.com
Thu Oct 27 16:38:45 CDT 2011
Hi Tim,
/tmp/mount/dir1 exists before swift startup.
Thank you.
Emalayan
________________________________
From: Tim Armstrong <tim.g.armstrong at gmail.com>
To: Michael Wilde <wilde at mcs.anl.gov>
Cc: Emalayan Vairavanathan <svemalayan at yahoo.com>; swift-user at ci.uchicago.edu
Sent: Thursday, 27 October 2011 2:25 PM
Subject: Re: [Swift-user] Swift-MosaStore integration problem
Does the directory /tmp/mount/dir1 exist before Swift starts up? Is it created before the exception occurs?
On Thu, Oct 27, 2011 at 2:57 PM, Michael Wilde <wilde at mcs.anl.gov> wrote:
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
>
>_______________________________________________
>Swift-user mailing list
>Swift-user at ci.uchicago.edu
>https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20111027/0add89ca/attachment.html>
More information about the Swift-user
mailing list