You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by Rajath Subramanyam <ra...@gmail.com> on 2016/10/26 02:03:56 UTC
Cassandra snapshot JMX commands
Hello Cassandra-users,
I have a question about issuing snapshot using JMX commands.
- Issuing snapshot on a single column family:
Nodetool command:
nodetool snapshot -cf <cf_name> -t *<tag_name>* <ks_name>
The equivalent JMX command is:
run -d org.apache.cassandra.db -b
org.apache.cassandra.db:type=StorageService takeColumnFamilySnapshot <
ks_name> <cf_name> <tag_name>
- Issuing snapshot to multiple column families spanning keyspaces:
Nodetool command:
nodetool snapshot -kc <ks1>.<cf1>,<ks1>.<cf2>,<ks2>.<cf1>,<ks3>.<cf1> -t
<tag_name>
Can anybody help me with JMX equivalent of the above command ?
Thanks in advance.
Regards,
Rajath
------------------------
Rajath Subramanyam