Cassandra not working and java update takes much more disk space than it claims



I know there’s already a post on cassandra but it’s effectively useless as there are even unanswered issues on the post itself. How do you get cassandra 3.11.0 working?

Also, when you update to Java 8 it claims that it will take up ~1.7kB of space but ends up taking over 700 MB of space. When you only have 2 GB to work with this is a major issue.

Edit: To clarify the issues I’ve had with cassandra are: pidfile not found, and connection refused. The google answers for this don’t work, such as CMD_PATT="cassandra" and JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=<public name>". I can’t even get to the point where ulimit causes any issues.