[ 
https://issues.apache.org/jira/browse/BIGTOP-1448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Mackrory updated BIGTOP-1448:
----------------------------------
    Attachment: 0001-BIGTOP-1448.-Include-ZooKeeper-C-library-in-Bigtop.patch

Attaching a patch. The RPM looks about right but I haven't tested the DEB in a 
while. This should allow you to run the single- and multi-threaded clients 
(cli_st and clit_mt, respectively) and the load tester (load_gen). It also 
allows you to include ZK headers (#include <zookeeper/zookeeper.h>) and link 
against the libraries (-lzookeeper). There are probably a few C things we need 
to add to bigtop toolchain (including cppunit-devel).

One weird thing about this is that there are 2 tarballs in build/. There's 
zookeeper-${VERSION}.tar.gz (which is what we've always consumed in 
install_zookeeper.sh) and zookeeper-${VERSION}-lib.tar.gz (which provides all 
the native bits). It works, but that's something kinda unique about this so I 
wanted to point it out.

> Include zookeeper C library in bigtop
> -------------------------------------
>
>                 Key: BIGTOP-1448
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1448
>             Project: Bigtop
>          Issue Type: New Feature
>          Components: general
>            Reporter: Guo Ruijing
>            Assignee: Sean Mackrory
>         Attachments: 
> 0001-BIGTOP-1448.-Include-ZooKeeper-C-library-in-Bigtop.patch
>
>
> It is nice to include to zookeeper C library in bigtop.
> how to do?
> 1. add c build tool chain in bigtop
> 2. build zookeeper c library as 
> http://zookeeper.apache.org/doc/trunk/zookeeperProgrammers.html
> 3. package zookeeper c library



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to