Skip to content

Instantly share code, notes, and snippets.

@traumverloren
Created September 5, 2017 07:25
Show Gist options
  • Save traumverloren/94bdd1bfce57a41fad69b22f96f0cbf4 to your computer and use it in GitHub Desktop.
Save traumverloren/94bdd1bfce57a41fad69b22f96f0cbf4 to your computer and use it in GitHub Desktop.
clearing cassandra & elasticsearch for clean backend experience :-/

Clear Cassandra:

  1. cd into cassandra folder: $ cd /usr/local/Cellar/cassandra/3.10_1 (for me)
  2. $ cqlsh
  3. drop keyspace akka;
  4. quit to exit

Clear Elasticsearch:

  1. stop ES
  2. $ cd /usr/local/var/elasticsearch
  3. $ open .
  4. move nodes folder to trash bin
  5. restart ES

Restart SBT:

  1. Run sbt clean
  2. then start sbt as normal to build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment