I have gotten cassandra up and running on my local machine, but now trying to use Spark with it as well.
I am following these instructions here. I changed both `/etc/init.d/dse` and `/etc/default/dse` so that `SPARK_ENABLED=1` for good measure (I'm not sure which one needs to be changed when using the debian service, but I'm assuming it is safe to do both). I also changed `/etc/dse/dse.yaml` to enable AlwaysOn.
I then restarted DSE.
However, when I run `dse cassandra`, I get the following error message:
Exception (java.lang.ExceptionInInitializerError) encountered during startup: null java.lang.ExceptionInInitializerError at com.datastax.bdp.server.DseDaemon.preSetup(DseDaemon.java:664) at com.datastax.bdp.server.DseDaemon.setup(DseDaemon.java:538) at org.apache.cassandra.service.CassandraDaemon.activate0(CassandraDaemon.java:733) at org.apache.cassandra.service.CassandraDaemon.access$100(CassandraDaemon.java:85) at org.apache.cassandra.service.CassandraDaemon$3.run(CassandraDaemon.java:694) Caused by: java.lang.RuntimeException: alwayson_sql_options.enabled in dse.yaml is set to true in a non-analytics node
I get the same message when trying to run from the tarball instead. On the other hand, I got it up and running using docker.
What am I doing wrong in order to get analytics up and running?