Skip to content

Instantly share code, notes, and snippets.

@come-maiz
Last active November 2, 2016 06:13
Show Gist options
  • Save come-maiz/4bc153ef70ef32405388fca26961c422 to your computer and use it in GitHub Desktop.
Save come-maiz/4bc153ef70ef32405388fca26961c422 to your computer and use it in GitHub Desktop.
Cassandra snap testing

Smoke tests for the Cassandra snap

Search for the snap:

$ snap find cassandra
Name       Version  Developer  Notes  Summary
cassandra  3.7      ev         -      Cassandra distributed database

Install the snap:

$ sudo snap install cassandra
[sudo] password for elopio: 
cassandra (stable) 3.7 from 'ev' installed

Check the status:

$ cassandra.nodetool status
@evandandrea
Copy link

Does the following resolve the issue for you?
sudo snap connect cassandra:mount-observe ubuntu-core:mount-observe
sudo snap connect cassandra:process-control ubuntu-core:process-control
sudo systemctl restart snap.cassandra.cassandra.service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment