Re: ZkClient package

2010-07-13 Thread Adam Rosien
I use it at my job at kaChing. Generally it is just fine for the job,
doing what you'd expect.

My criticisms are that it is very thin on documentation (javadoc),
which may have been improved, and I don't like how it makes every zk
exception into a RuntimeException.

But I'm thumbs up.

.. Adam

On Mon, Jul 12, 2010 at 4:10 PM, Jun Rao  wrote:
> Hi,
>
> ZkClient (http://github.com/sgroschupf/zkclient) provides a nice wrapper
> around the ZooKeeper client and handles things like retry during
> ConnectionLoss events, and auto reconnect. Does anyone (other than Katta)
> use it? Would people recommend using it? Thanks,
>
> Jun
>


Re: building client tools

2010-07-13 Thread Mahadev Konar
Hi Martin,
  There is a list of tools, i.e cppunit. That is the only required tool to
build the zookeeper c library. The readme says that it can be done without
cppunit being installed but there has been a open bug regarding this. So
cppunit is required as of now.

Thanks
mahadev


On 7/13/10 10:09 AM, "Martin Waite"  wrote:

> Hi,
> 
> I am trying to build the c client on debian lenny for zookeeper 3.3.1.
> 
> autoreconf -if
> configure.ac:33: warning: macro `AM_PATH_CPPUNIT' not found in library
> configure.ac:33: warning: macro `AM_PATH_CPPUNIT' not found in library
> configure.ac:33: error: possibly undefined macro: AM_PATH_CPPUNIT
>   If this token and others are legitimate, please use m4_pattern_allow.
>   See the Autoconf documentation.
> autoreconf: /usr/bin/autoconf failed with exit status: 1
> 
> I probably need to install some required tools.   Is there a list of what
> tools are needed to build this please ?
> 
> regards,
> Martin



Re: building client tools

2010-07-13 Thread Sergey Doroshenko
Andrei is right. Also, libcppunit-dev might be neeeded too.
"sudo apt-get install libcppunit-1.12-1 libcppunit-dev" (I'm assuming 1.12
is the latest version) should do the trick

On Tue, Jul 13, 2010 at 8:39 PM, Andrei Savu  wrote:

> Hi,
>
> In this case I think you have to install libcppunit (should work using
> apt-get). I believe that should be enough but I don't really remember
> what else I've installed the first time I compiled the c client.
>
> Let me know what else was needed. I would like to submit a patch to
> update the README file in order to avoid this problem in the future.
>
> Thanks.
>
> On Tue, Jul 13, 2010 at 8:09 PM, Martin Waite  wrote:
> > Hi,
> >
> > I am trying to build the c client on debian lenny for zookeeper 3.3.1.
> >
> > autoreconf -if
> > configure.ac:33: warning: macro `AM_PATH_CPPUNIT' not found in library
> > configure.ac:33: warning: macro `AM_PATH_CPPUNIT' not found in library
> > configure.ac:33: error: possibly undefined macro: AM_PATH_CPPUNIT
> >  If this token and others are legitimate, please use
> m4_pattern_allow.
> >  See the Autoconf documentation.
> > autoreconf: /usr/bin/autoconf failed with exit status: 1
> >
> > I probably need to install some required tools.   Is there a list of what
> > tools are needed to build this please ?
> >
> > regards,
> > Martin
> >
>
>
>
> --
> Andrei Savu - http://andreisavu.ro/
>



-- 
Regards, Sergey


Re: building client tools

2010-07-13 Thread Andrei Savu
Hi,

In this case I think you have to install libcppunit (should work using
apt-get). I believe that should be enough but I don't really remember
what else I've installed the first time I compiled the c client.

Let me know what else was needed. I would like to submit a patch to
update the README file in order to avoid this problem in the future.

Thanks.

On Tue, Jul 13, 2010 at 8:09 PM, Martin Waite  wrote:
> Hi,
>
> I am trying to build the c client on debian lenny for zookeeper 3.3.1.
>
> autoreconf -if
> configure.ac:33: warning: macro `AM_PATH_CPPUNIT' not found in library
> configure.ac:33: warning: macro `AM_PATH_CPPUNIT' not found in library
> configure.ac:33: error: possibly undefined macro: AM_PATH_CPPUNIT
>      If this token and others are legitimate, please use m4_pattern_allow.
>      See the Autoconf documentation.
> autoreconf: /usr/bin/autoconf failed with exit status: 1
>
> I probably need to install some required tools.   Is there a list of what
> tools are needed to build this please ?
>
> regards,
> Martin
>



-- 
Andrei Savu - http://andreisavu.ro/


building client tools

2010-07-13 Thread Martin Waite
Hi,

I am trying to build the c client on debian lenny for zookeeper 3.3.1.

autoreconf -if
configure.ac:33: warning: macro `AM_PATH_CPPUNIT' not found in library
configure.ac:33: warning: macro `AM_PATH_CPPUNIT' not found in library
configure.ac:33: error: possibly undefined macro: AM_PATH_CPPUNIT
  If this token and others are legitimate, please use m4_pattern_allow.
  See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

I probably need to install some required tools.   Is there a list of what
tools are needed to build this please ?

regards,
Martin