Andrzej Bialecki wrote:
Well, I can speak only for v. 0.6 ... Without patching the LocalFileSystem, and when using different partitions for temporary files and target files you _will_ trigger the bug. So, yes, it's likely that this is the reason.

Michael, should I commit the patch or are you planning to do it?

Andrzej, can you please commit this? I think all that's required is Mike's proposal, to try rename and then fallback to copying, right?


Michael Cafarella wrote:
>   public boolean rename(File src, File dst) throws IOException {
>     if (! src.renameTo(dst)) {
>       FileUtil.copyContents(this, src, dst, true);
>       return fullyDelete(src);
>     }
>   }
>
>   Similarly in addLocalFile(), otherwise as you describe.

Thanks,

Doug


------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nutch-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to