Unable to move file to cluster via Java?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the info!

Never heard about such limitation, seems pretty weird Java doesn't throw any
exception as well.

Regards.

2009/3/20 Andrew McGill <list2008 at lunch.za.net>

> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4073756
>
> QOTD>
>
> 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
> filesystem.
>
>
> 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
> it
> > 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...
URL: <http://zresearch.com/pipermail/gluster-users/attachments/20090320/73c4bd13/attachment.htm>


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux