<div dir="ltr">Thanks for the info!<br><br>Never heard about such limitation, seems pretty weird Java doesn&#39;t throw any exception as well.<br><br>Regards.<br><br><div class="gmail_quote">2009/3/20 Andrew McGill <span dir="ltr">&lt;<a href="mailto:list2008@lunch.za.net">list2008@lunch.za.net</a>&gt;</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&gt;<br>
<br>
In this case the renameTo method is failing because, unlike the Unix &quot;mv&quot;<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>
&gt; Hi.<br>
&gt;<br>
&gt; I&#39;m testing the cluster and found out some strange issue.<br>
&gt;<br>
&gt; When I&#39;m trying to move file to cluster via Java, the move fails. Moving it<br>
&gt; regularly works fine.<br>
&gt;<br>
&gt; The relevant Java code is:<br>
&gt;<br>
&gt; new File(tempFile).renameTo(new File(name))<br>
&gt;<br>
&gt; Any idea if there any issues for JVM and GlusterFS?<br>
&gt;<br>
&gt; Regards.<br>
<br>
<br>
</div></div></blockquote></div></div>