rackerlabs/blueflood — pull request #187 by fourk (2013-12-21 00:54:57+00:00)
Title: Fix dockerfile to work again.

We haven't given the Docker stuff much attention lately. I made all the necessary changes to make it run without error with the current codebase.

I'm not proud of this commit, there's a bunch of stuff that just ended up commented out rather than properly replaced, but at least it runs now.

Issues fixed:
* Increase stack size to 228k
* Invalid cassandra yaml
* Wildcard the version so we don't have to modify the docker start script every time we version bump.

```
xss = -ea -javaagent:/usr/share/cassandra/lib/jamm-0.2.5.jar -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms512M -Xmx512M -Xmn256M -XX:+HeapDumpOnOutOfMemoryError -Xss180k

The stack size specified is too small, Specify at least 228k
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused
at org.apache.thrift.transport.TSocket.open(TSocket.java:185)
at org.apache.thrift.transport.TFramedTransport.open(TFramedTransport.java:81)
at org.apache.cassandra.thrift.TFramedTransportFactory.openTransport(TFramedTransportFactory.java:41)
```

```
INFO 00:33:17,366 Loading settings from file:/etc/cassandra/cassandra.yaml
ERROR 00:33:17,722 Fatal configuration error
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties [authority, reduce_cache_sizes_at, reduce_cache_capacity_to, flush_largest_memtables_at] from your cassandra.yaml
```