zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bharat Singh <bharatsingh.mnni...@gmail.com>
Subject Re: Zookeeper truncates file to 0bytes
Date Wed, 22 Jul 2015 04:53:14 GMT
ping..

On Fri, Jul 17, 2015 at 1:41 PM, Bharat Singh <bharatsingh.mnnit06@gmail.com
> wrote:

> Hello,
>
> I am facing a rename issue with Zkfuse.
> I am trying to test file atomic updates. After some iterations the file
> size becomes 0.
> This is easily reproducible, just running the below script for ~5mins.
>
> Setup:
> zookeeper-3.4.6 with Zkfuse mounted, size of testFile = 1k
>
> while [ 1 ]
> do
>         cp /root/testFile /mnt/zk/testFile.tmp
>         mv /mnt/zk/testFile.tmp /mnt/zk/testFile
>         ls -larth /mnt/zk/
>         sleep 1
> done
>
>
> Zkfuse debug logs doesn't show any suspicious activity. Looks like
> zookeeper/zkfuse RENAME is not atomic.
> Any suggestions to debug this, have any one observed a similar issue ?
>
>
> Thanks,
> Bharat
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message