OpenSourceAlchemist / chef-kafka

This is now being maintained at geoforce/chef-kafka
1 stars 3 forks source link

sv check kafka shows kafka as unable to run #1

Closed crowdmatt closed 11 years ago

crowdmatt commented 11 years ago

Hey,

First, thanks so much for your recipes for zookeeper and kafka; very cool.

I've gotten zookeeper up and running using the scripts as you have them.

$ sv check zookeeper
ok: run: zookeeper: (pid 24873) 1115s

However, kafka isn't so lucky. It keeps trying to restart it, but never seems to be able to do it. I get:

$ sv check kafka
ok: down: kafka: 0s, normally up, want up

$ sv check kafka
ok: run: kafka: (pid 10098) 0s

Do you get those problems, or is the kafka recipe working for you?

I'm on Ubuntu on EC2

Thanks!

OpenSourceAlchemist commented 11 years ago

Yep, you've found a real problem. The issue is after kafka is built, the tree is one level down from where the run script expects it. Unfortunately I ran out of time to work on this at the time I was working the issue. The files just need to be moved up before the cookbook properties templates jump in to populate. As soon as I can get some free time, I'll work to fix it. If you manage a fix before I do, please send a pull request.

Thanks for the feedback!

crowdmatt commented 11 years ago

Thanks for reply! Can you let me know the specific directory structure that is messed up? What path are things installed, and where does the run script expect it?

I'll work on fixing it :)

OpenSourceAlchemist commented 11 years ago

/opt/kafka. all the stuff you need is one level down in /opt/kafka--incubator

crowdmatt commented 11 years ago

Just sent a pull request that is a fix!

OpenSourceAlchemist commented 11 years ago

I didn't get notified on this. Sorry it took so long to merge in, but it is done now! Thanks for the help!