Closed jeffbyrnes closed 8 years ago
Don’t have any more cycles for this at the moment, I’ll try to circle back later this week or next week.
Frustratingly, the SysV stuff works & tests well on a second convergence. Something about how it starts ZooKeeper means it can’t read/write fast enough to converge the zookeeper_node
resources in the zookeeper_tester
cookbook.
Going to go ahead & merge this in; it’s at least as good as the current state of things for SysV, and a vast improvement for Upstart.
Discovered a number of issues while debugging the Upstart script:
zkServer.sh
andzkEnv.sh
)/etc/default/zookeeper
that sets up their own env varszkServer.sh
script, which does the same env var dance as runit, but with the overrides coming in from/etc/default/zookeeper
zkServer.sh
and handles ZooKeeper directlySolutions:
/etc/default/zookeeper
, and just use thezookeeper-env.sh
file that ZK sources in its own scripts (we already have a mechanism in place to populate this file)zkServer.sh
Fixes #179