Comments (7)
Hey @aarondodd, sincere apologies for never digging into this. CentOS support is hard to come by for us; we're a strictly Ubuntu shop. However, I'm working on a massive refactor of this cookbook and want to at least try to support CentOS as well. If you can hang on for a short bit, I think we'll get there.
from zookeeper-cookbook.
I can confirm OpsWorks has hard time working with this cookbook as well when running on Amazon Linux. Will be happy to see this resolved!
from zookeeper-cookbook.
Hey @synhershko, so this cookbook has changed quite a lot the past couple months. Do you mind if I ask what version of the cookbook you're on?
from zookeeper-cookbook.
Directly from the master branch...
from zookeeper-cookbook.
Okay, can you provide a stacktrace, test conditions, any debugging information, etc? My comment above has mostly been accomplished, so things which aren't working at this point are likely bugs and we'll probably have to go out of our way to fix 'em up. Thanks!
from zookeeper-cookbook.
Let me retract my comment - it seems to be working fine now. It probably required some more patience on my end.
from zookeeper-cookbook.
I'm still having issues with zookeeper starting when the zookeeper::service recipe is run under OpsWorks with the upstart provider set. The command which the recipe runs is /sbin/start zookeeper, and that fails. Running that manually returns a no such job found error.
Using the runit provider starts the service, but then I get issues with the leader election process because it doesn't seem to have listeners at 2888/3888 for the quorum stuff.
Looks like this recipe doesn't include functionality related to zookeeper clustering, in general. I had to do a supplemental recipe to lay down the myid file, for instance.
More info: Amazon linux uses upstart by default, but initially I kept getting errors when trying to use initctl to manage starting the service. Your recipe is writing zookeeper.conf into /etc/init, but /var/log/messages showed that upstart didn't like either your limit or console stanzas in the conf file.
Commenting out those stanzas made zookeeper show up in initctl list, but the service still failed to start properly, respawning several times and then stopping due to the default respawn limits on init.
Interestingly, rewriting the limit nofile 8192 8192 line in the conf file didn't throw the same stanza error. On the off chance that there was some issue in the file template (like a bad carriage return or some other invisible character), I went through the installed file line by line with vi and redid all the carriage returns.
The contents of the installed file no longer throws a stanza error, and initctl sees that the zookeeper job exists, but initctl start zookeeper still goes through a fast respawn process and then stops. So something is still not right.
from zookeeper-cookbook.
Related Issues (20)
- Upstart services fail to start zookeeper HOT 8
- Question about your pinning strategy HOT 2
- link logic for ZK not working. HOT 1
- No way to set Java Opts? HOT 2
- service[zookeeper] cannot be found in the resource collection. HOT 10
- cookbook dependancies in the metadata HOT 4
- Support "package" install style HOT 4
- Make the defaults for install_dir consistent across resources HOT 1
- Checksum has not changed with 3.4.9 update HOT 1
- Any feedback with ZK 3.5.2 dynamic configuration ? HOT 3
- Zookeeper sysv script
- How to run ZooKeeper as a service HOT 1
- Support Ubuntu 16.04 HOT 3
- support direct link to tar for download path HOT 2
- zookeeper-3.5.3-beta artifact breaks due to (lack of) gzip compression HOT 3
- 2.6.0 version error using chef-client 12 HOT 2
- MYID HOT 4
- Passing java options with special characters has unexpected output HOT 6
- Default install fails with failure to download Zookeeper 3.4.12 HOT 2
- Inconsistency in username properties across resources HOT 2
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 zookeeper-cookbook.