LukeTillman / dse-docker

DataStax Enterprise running in a Docker Container
Apache License 2.0
47 stars 17 forks source link

How do I run this with analytics turned on? #5

Closed wildengineer closed 7 years ago

wildengineer commented 7 years ago

I am trying to figure out how to turn analytics on. It seems like only cassandra is turned on by default. What am I missing?

LukeTillman commented 7 years ago

The DESCRIPTION.md has a section on how to start it. It's got a link in that section to the documentation for the command line flags available if you don't want to use the default (which is to just start a Cassandra node). So, put it all together and you should be able to start a Spark node by adding the -k switch like this:

docker run --name my-dse -d luketillman/datastax-enterprise:5.0.4 -k

If you need to expose any of the ports to your host, you'll want to be sure to add the -p xxxx:yyyy or -P flags after the -d. You can find a list of the ports used by DSE in the docs. So, for example, to expose the CQL port (9042) as port 9042 on the host, you'd do:

docker run --name my-dse -d -p 9042:9042 luketillman/datastax-enterprise:5.0.4 -k

See the docker run docs for more info.

HTH.

wildengineer commented 7 years ago

Thanks Luke!