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 Thu, 23 Jul 2015 15:50:13 GMT
Hi Flavio,

Yeah I know that Zkfuse is not being used in production. I have created a
jira and added some initial updates.
I will keep posting with my debugging progress, but in the mean time can
anyone with a better understanding of
the source have a look.

Jira link:
https://issues.apache.org/jira/browse/ZOOKEEPER-2236


Thanks,
Bharat

On Thu, Jul 23, 2015 at 3:09 AM, Flavio Junqueira <
fpjunqueira@yahoo.com.invalid> wrote:

> Hi Bharat,
>
> I'm not sure there has been many use cases for zkfuse recently, so that's
> probably why you aren't getting any answer. If you really want to get to
> the bottom of the problem, then I'd suggest that you investigate yourself
> and try to get the community engaged by reporting your progress. You could
> start by creating a jira.
>
> -Flavio
>
>
> > On 22 Jul 2015, at 05:53, Bharat Singh <bharatsingh.mnnit06@gmail.com>
> wrote:
> >
> > 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