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

Reply via email to