[Linux-cluster] writing to GFS from multiple JVM's concurrently

gordan at bobich.net gordan at bobich.net
Wed Apr 2 15:38:50 UTC 2008


On Wed, 2 Apr 2008, Tajdar Siddiqui wrote:

> When 2 JVM's  (multiple Threads per Java Virtual Machine) are writing to the same directory
> on GFS, on of the JVM doesn't see the files it writes on the GFS.
> The Writer Threads on JVM think they're done, but the files don't show up on "ls" etc.
> The other JVM works fine.
> 
> This problem goes away if the 2 JVM's write to different directories on GFS
> 
> OR
> 
> Only one JVM is writing at a time.
> 
> Any ideas on this.

This may sound like a daft question, but did you test it on ext3? Are the 
JVMs on the same node? What locking protocol are you using?

Gordan


More information about the Linux-cluster mailing list