In unix it is usually allowed to rename open files, so lftp does that. I'll
see if it is possible to reverse the order.

2014-09-30 12:18 GMT+04:00 akshay gupta <akshaygupta...@gmail.com>:

> Hi,
>
> I am trying to mirror files on Fuse mounted hdfs file system (
> https://wiki.apache.org/hadoop/MountableHDFS). Lftp is creating some 0
> byte files.
>
> Observations:
> 1. Files of size larger then 64k are getting transferred properly. Smaller
> files have 0 byte file size.
> 2. Debug logs shows that lftp downloaded data for the files correctly. It
> also renamed them.
>
> Additional tests on fuse mounted hdfs.
> - I created a file with a temp file name, written the data to it, then
> renamed the file and finally closed the output stream. In this case it
> creates a 0 byte file.
> - I created a file with a temp file name, written the data to it, closed
> the file and then renamed the file. In this case it creates the file
> correctly.
>
>
> Can someone please look into this issue, it might be possible that stream
> is closed after the file is renamed.
>
> Thanks,
> Akshay
>
>
>



-- 
   Alexander.
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to