From: Stefan G. <sg...@10...> - 2008-04-22 23:12:31
|
Frist, thank you guys so much for the very helpful and fast help. I would love to start zookeeper servers within my code programmatically. So for example starting a master starts always a zookeeper server as well. But I kind of like the idea to manage zookeeper with zookeeper as well. Means if a slave starts and it can not connect to zookeeper it starts a zookeeper server. In case it can connect and it discover only one zookeeper server it starts a second zookeeper server. I looked into QuorumPeer#main but guess simply copy those functionality will not solve my problem. Since the configuration is static and do not allow setting of new QuorumServers. Did anyone look into that area already? Thanks. Stefan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101tec Inc. Menlo Park, California, USA http://www.101tec.com |