<div dir="ltr">Thanks for the info!<br><br>Never heard about such limitation, seems pretty weird Java doesn't throw any exception as well.<br><br>Regards.<br><br><div class="gmail_quote">2009/3/20 Andrew McGill <span dir="ltr"><<a href="mailto:list2008@lunch.za.net">list2008@lunch.za.net</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4073756" target="_blank">http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4073756</a><br>
<br>
QOTD><br>
<br>
In this case the renameTo method is failing because, unlike the Unix "mv"<br>
command, the File.renameTo method is not specified to copy a file across<br>
filesystems when necessary; it will only rename a file within a single<br>
filesystem.<br>
<div><div></div><div class="h5"><br>
<br>
On Thursday 19 March 2009 12:44:33 Stas Oskin wrote:<br>
> Hi.<br>
><br>
> I'm testing the cluster and found out some strange issue.<br>
><br>
> When I'm trying to move file to cluster via Java, the move fails. Moving it<br>
> regularly works fine.<br>
><br>
> The relevant Java code is:<br>
><br>
> new File(tempFile).renameTo(new File(name))<br>
><br>
> Any idea if there any issues for JVM and GlusterFS?<br>
><br>
> Regards.<br>
<br>
<br>
</div></div></blockquote></div></div>