michaelklishin/cassandra-chef-cookbook — pull request #31 by yaitskov (2013-12-01 00:06:17+00:00)
Title: Multi instance troubles (cassandra::tarball)

Hi,

This pull request looks big. Let me explain this.

I tried to deploy with this cookbook multi instance cluster with 1 data center and found may troubles and fixed.
The tarball recipe was used.

After deploy with the origin recipe I noticed that instances are not joined together, foreign network interfaces
are not listened, etc.
I got that cassandra.yaml is ignored.

The init script lacks of export to pass variable to child process. And cassandra loaded original one /proc/cassandra.yaml.

Next I struggled because Cassandra crashed silently and I removed redirect STDERR and STDOUT to null.
Error happened so early that Cassandra couldn't say about it to its log file.

After I saw problems: log4j config file is missing and due some parameters Cassandra declined to start.
The recipe doesn't install the file to /etc/cassandra.
Problem parameter I decided to comment as Cassandra hinted me.