[ https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13867235#comment-13867235 ]
sankalp kohli edited comment on CASSANDRA-5742 at 1/9/14 11:05 PM: ------------------------------------------------------------------- Attached a new patch. Now I print the true size being taken by all snapshots in the end. was (Author: kohlisankalp): Now the output is something like this: Snapshot Details: Snapshot Name:1389305323153 keyspace_name columnfamily_name TrueDiskSpaceUsed TotalDiskSpaceUsed Keyspace1 Standard1 0 bytes 45.7 MB Snapshot Name:1389305249187 keyspace_name columnfamily_name TrueDiskSpaceUsed TotalDiskSpaceUsed Keyspace1 Standard1 45.2 MB 90.9 MB Snapshot Name:1389305405744 keyspace_name columnfamily_name TrueDiskSpaceUsed TotalDiskSpaceUsed Keyspace1 Standard1 0 bytes 110.86 MB Keyspace1 Counter1 0 bytes 120.02 MB Snapshot Name:1389305352377 keyspace_name columnfamily_name TrueDiskSpaceUsed TotalDiskSpaceUsed Keyspace1 Standard1 0 bytes 110.86 MB Total TrueDiskSpaceUsed: 45.2 MBSnapshot Details: Snapshot Name:1389305323153 keyspace_name columnfamily_name TrueDiskSpaceUsed TotalDiskSpaceUsed Keyspace1 Standard1 0 bytes 45.7 MB Snapshot Name:1389305249187 keyspace_name columnfamily_name TrueDiskSpaceUsed TotalDiskSpaceUsed Keyspace1 Standard1 45.2 MB 90.9 MB Snapshot Name:1389305405744 keyspace_name columnfamily_name TrueDiskSpaceUsed TotalDiskSpaceUsed Keyspace1 Standard1 0 bytes 110.86 MB Keyspace1 Counter1 0 bytes 120.02 MB Snapshot Name:1389305352377 keyspace_name columnfamily_name TrueDiskSpaceUsed TotalDiskSpaceUsed Keyspace1 Standard1 0 bytes 110.86 MB Total TrueDiskSpaceUsed: 45.2 MB > Add command "list snapshots" to nodetool > ---------------------------------------- > > Key: CASSANDRA-5742 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5742 > Project: Cassandra > Issue Type: New Feature > Components: Tools > Affects Versions: 1.2.1 > Reporter: Geert Schuring > Assignee: sankalp kohli > Priority: Minor > Labels: lhf > Attachments: JIRA-5742-v2.diff, JIRA-5742.diff, new_file.diff > > > It would be nice if the nodetool could tell me which snapshots are present on > the system instead of me having to browse the filesystem to fetch the names > of the snapshots. -- This message was sent by Atlassian JIRA (v6.1.5#6160)