[Gluster-users] Unable to move file to cluster via Java?
stas.oskin at gmail.com
Fri Mar 20 18:21:15 UTC 2009
Thanks for the info!
Never heard about such limitation, seems pretty weird Java doesn't throw any
exception as well.
2009/3/20 Andrew McGill <list2008 at lunch.za.net>
> In this case the renameTo method is failing because, unlike the Unix "mv"
> command, the File.renameTo method is not specified to copy a file across
> filesystems when necessary; it will only rename a file within a single
> On Thursday 19 March 2009 12:44:33 Stas Oskin wrote:
> > Hi.
> > I'm testing the cluster and found out some strange issue.
> > When I'm trying to move file to cluster via Java, the move fails. Moving
> > regularly works fine.
> > The relevant Java code is:
> > new File(tempFile).renameTo(new File(name))
> > Any idea if there any issues for JVM and GlusterFS?
> > Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gluster-users