Comments (5)
from zk-smoketest.
Which version of ZK are you trying to update to?
from zk-smoketest.
I am trying create files for 3.4.x ( currently 3.4.10) versions.
from zk-smoketest.
That's odd. When you run zksmokes python scripts they are going to need access to the python native libraries as well as the zookeeper c client libraries.
Notice there are two libraries here:
$ ls lib.linux-i686-2.6/
libzookeeper_mt.so.2* zookeeper.so*
initzookeeper is in ./src/contrib/zkpython/src/c/zookeeper.c from zookeeper - meaning it's the python library, not in the zk client library. (python lib uses the zk c client lib)
Are you sure that both sets of libraries are available when you run the zk smoketest python script?
A few things to check: did you recompile zkpython as well from zk contrib and make it accessible to the smoketest python scripts when executing?
I haven't regenerated those files myself in quite some time. I just tried it using the following process and it worked OK.
- used docker to spin up an ubuntu container with 14.04 (and nothing ZK specific)
- used git to clone zk and checked out 3.4.10 release tag.
- compiled the java code, c client, and zkpython in zk. used "install" targets to ensure everything is in the expected location (python 2.7.6 with python-dev also installed via apt-get)
- started the zk server so that we'd have something to talk to
- cloned zk-smoketest. deleted the "lib*" directories from zk-smoketest
- ran "./zk-smoketest.py --servers "localhost:2181" which executed successfully
from zk-smoketest.
Thanks for tip. I was not building Java code and because of that test-classes were not created in build/ folder. Also i didnt build contrib code earlier.
Here are the steps i followed :-
From zookeeper repo:-
ant
ant mvn-deploy
ant complie_jute
cd src/c/
find where ACLOCAL is installed
ACLOCAL="aclocal -I /usr/share/aclocal" autoreconf -if
./configure
sudo make install
cd ../contrib
ant
cd zkpython
this last step will create zookeeper.so and install zookeeper.so into python/dist-packages
location of zookeeper.so :- zookeeper/build/contrib/zkpython/lib.linux-x86_64-2.7/
sudo ant
from zk-smoketest.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zk-smoketest.