rs / zkfarmer Goto Github PK
View Code? Open in Web Editor NEWZkFarmer is a set of tools to easily manage distributed server farms using Apache ZooKeeper
License: MIT License
ZkFarmer is a set of tools to easily manage distributed server farms using Apache ZooKeeper
License: MIT License
/usr/lib/python2.6/site-packages/zkfarmer-1.1.0-py2.6.egg/EGG-INFO/scripts/zkfarmer:180: DeprecationWarning: Passing retry configuration param max_retries to the client directly is deprecated, please pass a configured retry object (using param max_tries)
zkconn = KazooClient(args.host, max_retries=5)
non-fatal info warning.
kazoo-1.3.1, the latest tagged version on github.
KazooClient expects a KazooRetry object for the param connection_retry
code:
from kazoo.retry import KazooRetry
zkretries = KazooRetry(max_tries=3)
zkconn = KazooClient(args.host, connection_retry=zkretries)
Using zkfarmer for third-party software registration for our project. It's working great except for one strange thing. Hit this issue a couple of times. The behavior is as following:
zkfarmer connects to zookeeper successfully and runs for some without a problem. Then (according to the logs from one of the zookeeper nodes) one node goes unreachable. Which means the quorum is broken since we have only 3 nodes (5 ideally advised by zookeeper at the moment). zookeeper stays reachable overall - using load balancer link to access it. The third node quickly gets back (maybe 10 minutes overall). And zkfarmer does not report any connection drop or any problem nowhere in the logs (I'm watching over zkfarmer process). So it's there and it thinks it is still connected to zookeeper while in fact it's not. If you go to zookeeper you won't be able to find an ephemeral node, which is an obvious indication that zkfarmer is not connected.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.