Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper, mail # user - Understanding the protocols


Copy link to this message
-
Re: Understanding the protocols
Arink Verma 2013-05-03, 12:50
@Alan
Hi Alan, I did some inspection of zk packets in wireshark. By reading
zookeeper.jute<https://github.com/apache/zookeeper/blob/trunk/src/zookeeper.jute>
 and kazoo/protocol/serialization.py<https://github.com/python-zk/kazoo/blob/master/kazoo/protocol/serialization.py>,
I have implemented few protocols in my simple finagle zookeeper client[1]

I have brief about zk protocols
here<http://www.arinkverma.in/2013/05/understanding-zookeeper-protocols.html>
[2]

[1]
https://github.com/arinkverma/finagle-zk/tree/master/src/main/scala/com/twitter/finaglezk/protocol
[2]http://www.arinkverma.in/2013/05/understanding-zookeeper-protocols.html
@Russell,
Thanks for help, Does jute file contains all protocols?
On Mon, Apr 29, 2013 at 11:07 AM, Russell Haering
<[EMAIL PROTECTED]>wrote:

> Zookeeper uses Jute for RPC, see:
> https://github.com/apache/zookeeper/blob/trunk/src/zookeeper.jute
>
>
> On Sun, Apr 28, 2013 at 9:28 PM, Arink Verma <[EMAIL PROTECTED]
> >wrote:
>
> > Hi Hartmut
> >
> > Thanks I have seen curator, but it seems to be a clinet wrapper over ZK.
> >
> > Its my bad, sorry I forgot to mention that I am applying for Gsoc project
> > which requires implementing the zookeeper wire protocol
> > within the finagle stack
> >
> >
> >
> > On Sun, Apr 28, 2013 at 9:13 PM, Hartmut Lang <[EMAIL PROTECTED]
> > >wrote:
> >
> > > Hi,
> > >
> > > i recommend to have a look at curator:
> http://netflix.github.io/curator/
> > >
> > > Hartmut
> > >
> > >
> > > 2013/4/28 Arink Verma <[EMAIL PROTECTED]>
> > >
> > > > Hello everyone
> > > >
> > > > I am Arink, computer science student and open source enthusiastic. I
> am
> > > > working on pure zookeeper client on twitter's finagle. But I am not
> > aware
> > > > of zookeeper's protocols. How it make connection with server?
> > > >
> > > > I have read ZooKeeper Internals[1], but that is so brief to implement
> > > fresh
> > > > client from scratch on scala .
> > > >
> > > >
> > > > can someone provide me any resource and help?
> > > >
> > > >
> > > > [1]
> > > >
> > > >
> > >
> >
> http://zookeeper.apache.org/doc/r3.1.2/zookeeperInternals.html#sc_guaranteesPropertiesDefinitions
> > > >
> > > > Thanks
> > > >
> > > > --
> > > > -
> > > > Arink
> > > > Computer Science and Engineering
> > > > Indian Institute of Technology Ropar
> > > > www.arinkverma.in
> > > >
> > >
> >
> >
> >
> > --
> > Arink
> > Computer Science and Engineering
> > Indian Institute of Technology Ropar
> > www.arinkverma.in
> >
>

--
Arink
Computer Science and Engineering
Indian Institute of Technology Ropar
www.arinkverma.in