[jira] [Commented] (CASSANDRA-5742) Add command list snapshots to nodetool

2014-01-21 Thread Lyuben Todorov (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13877864#comment-13877864
 ] 

Lyuben Todorov commented on CASSANDRA-5742:
---

Its looking good (with a few minor nits) but [~kohlisankalp], can I ask you to 
look at my commit so we can come to a consensus on what format to use for 
output? What I dont like about the current format is the repeating headings 
({{keyspace_name, columnfamily_name. TrueDiskSpaceUsed, TotalDiskSpaceUsed}}), 
my changes make the format look more like a table.

 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: Output.png, new_file.diff, trunk-5742.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)


[jira] [Commented] (CASSANDRA-5742) Add command list snapshots to nodetool

2014-01-21 Thread sankalp kohli (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13877932#comment-13877932
 ] 

sankalp kohli commented on CASSANDRA-5742:
--

Yes...removing the repetitive stuff is a good idea. 

 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: Output.png, new_file.diff, trunk-5742.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)


[jira] [Commented] (CASSANDRA-5742) Add command list snapshots to nodetool

2014-01-21 Thread Lyuben Todorov (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13877944#comment-13877944
 ] 

Lyuben Todorov commented on CASSANDRA-5742:
---

+1 from me then :)

 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: Output.png, new_file.diff, trunk-5742.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)


[jira] [Commented] (CASSANDRA-5742) Add command list snapshots to nodetool

2014-01-21 Thread sankalp kohli (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13877948#comment-13877948
 ] 

sankalp kohli commented on CASSANDRA-5742:
--

Cool :) Also please upload the updated patch here or commit it. 

 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: Output.png, new_file.diff, trunk-5742.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)


[jira] [Commented] (CASSANDRA-5742) Add command list snapshots to nodetool

2014-01-21 Thread Lyuben Todorov (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13878058#comment-13878058
 ] 

Lyuben Todorov commented on CASSANDRA-5742:
---

You can get the commit as a patch file [on 
github|https://github.com/lyubent/cassandra/commit/d39ef779b592ae7fe18514921f1df148c14b6be1.patch]

 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: Output.png, new_file.diff, trunk-5742.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)


[jira] [Commented] (CASSANDRA-5742) Add command list snapshots to nodetool

2014-01-16 Thread Lyuben Todorov (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13874319#comment-13874319
 ] 

Lyuben Todorov commented on CASSANDRA-5742:
---

True Size appears to be 0 bytes regardless of what I do. Did you get it to 
display something other than 0b [~kohlisankalp]? I also created a branch on 
[d39ef77|https://github.com/lyubent/cassandra/commit/d39ef779b592ae7fe18514921f1df148c14b6be1]
 with a slight reformatting so that the output doesn't repeat the headings. 
WDYT of the new format?

 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: Output.png, new_file.diff, trunk-5742.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)


[jira] [Commented] (CASSANDRA-5742) Add command list snapshots to nodetool

2014-01-16 Thread Mikhail Stepura (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13874343#comment-13874343
 ] 

Mikhail Stepura commented on CASSANDRA-5742:


{{org.apache.cassandra.db.Directories.getTrueAllocatedSizeIn}} may return 0 if 
all the files in the snapshot are still alive (CASSANDRA-6231)

 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: Output.png, new_file.diff, trunk-5742.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)


[jira] [Commented] (CASSANDRA-5742) Add command list snapshots to nodetool

2014-01-16 Thread sankalp kohli (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13874428#comment-13874428
 ] 

sankalp kohli commented on CASSANDRA-5742:
--

Delete a few stables and restart. I used this technique to test it. 

 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: Output.png, new_file.diff, trunk-5742.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)


[jira] [Commented] (CASSANDRA-5742) Add command list snapshots to nodetool

2014-01-13 Thread Lyuben Todorov (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13869638#comment-13869638
 ] 

Lyuben Todorov commented on CASSANDRA-5742:
---

Patch fails to build on cassandra-2.0 branch. {{SnapshotDetailsTabularData}} 
cant be located, ColumnFamilyStore#trueSnapshotsSize cant be located,  
Directories#getTrueAllocatedSizeIn cant be located. 

{noformat}
[javac] 
/Users/lyubentodorov/Desktop/Dev/5742/src/java/org/apache/cassandra/db/Directories.java:415:
 error: cannot find symbol
[javac] final long trueSize = 
getTrueAllocatedSizeIn(snapshot);
[javac]   ^
[javac]   symbol:   method getTrueAllocatedSizeIn(File)
[javac]   location: class Directories
[javac] 
/Users/lyubentodorov/Desktop/Dev/5742/src/java/org/apache/cassandra/service/StorageService.java:2266:
 error: cannot find symbol
[javac] data = new 
TabularDataSupport(SnapshotDetailsTabularData.TABULAR_TYPE);
[javac]   ^
[javac]   symbol:   variable SnapshotDetailsTabularData
[javac]   location: class StorageService
[javac] 
/Users/lyubentodorov/Desktop/Dev/5742/src/java/org/apache/cassandra/service/StorageService.java:2270:
 error: cannot find symbol
[javac] 
SnapshotDetailsTabularData.from(keyspace.getName(), 
cfStore.getColumnFamilyName(), snapshotDetail,   data);
[javac] ^
[javac]   symbol:   variable SnapshotDetailsTabularData
[javac]   location: class StorageService
[javac] 
/Users/lyubentodorov/Desktop/Dev/5742/src/java/org/apache/cassandra/service/StorageService.java:2287:
 error: cannot find symbol
[javac] total += cfStore.trueSnapshotsSize();
[javac] ^
[javac]   symbol:   method trueSnapshotsSize()
[javac]   location: variable cfStore of type ColumnFamilyStore
{noformat}

 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, Output.png, 
 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)


[jira] [Commented] (CASSANDRA-5742) Add command list snapshots to nodetool

2014-01-13 Thread sankalp kohli (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13869735#comment-13869735
 ] 

sankalp kohli commented on CASSANDRA-5742:
--

SnapshotDetailsTabularData is in new_file.diff patch. Let me do my changes on 
the current trunk. 

 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, Output.png, 
 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)


[jira] [Commented] (CASSANDRA-5742) Add command list snapshots to nodetool

2014-01-13 Thread sankalp kohli (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13869782#comment-13869782
 ] 

sankalp kohli commented on CASSANDRA-5742:
--

Please apply new_file.diff  and trunk-5742.diff



 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: Output.png, new_file.diff, trunk-5742.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)


[jira] [Commented] (CASSANDRA-5742) Add command list snapshots to nodetool

2014-01-09 Thread sankalp kohli (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13867235#comment-13867235
 ] 

sankalp kohli commented on CASSANDRA-5742:
--

Now the output is something like this:
Snapshot Details: 
Snapshot Name:1389305323153
keyspace_namecolumnfamily_name  TrueDiskSpaceUsed   
 TotalDiskSpaceUsed 
Keyspace1Standard1  0 bytes 
 45.7 MB
Snapshot Name:1389305249187
keyspace_namecolumnfamily_name  TrueDiskSpaceUsed   
 TotalDiskSpaceUsed 
Keyspace1Standard1  45.2 MB 
 90.9 MB
Snapshot Name:1389305405744
keyspace_namecolumnfamily_name  TrueDiskSpaceUsed   
 TotalDiskSpaceUsed 
Keyspace1Standard1  0 bytes 
 110.86 MB  
Keyspace1Counter1   0 bytes 
 120.02 MB  
Snapshot Name:1389305352377
keyspace_namecolumnfamily_name  TrueDiskSpaceUsed   
 TotalDiskSpaceUsed 
Keyspace1Standard1  0 bytes 
 110.86 MB  
Total TrueDiskSpaceUsed: 45.2 MBSnapshot Details: 
Snapshot Name:1389305323153
keyspace_namecolumnfamily_name  TrueDiskSpaceUsed   
 TotalDiskSpaceUsed 
Keyspace1Standard1  0 bytes 
 45.7 MB
Snapshot Name:1389305249187
keyspace_namecolumnfamily_name  TrueDiskSpaceUsed   
 TotalDiskSpaceUsed 
Keyspace1Standard1  45.2 MB 
 90.9 MB
Snapshot Name:1389305405744
keyspace_namecolumnfamily_name  TrueDiskSpaceUsed   
 TotalDiskSpaceUsed 
Keyspace1Standard1  0 bytes 
 110.86 MB  
Keyspace1Counter1   0 bytes 
 120.02 MB  
Snapshot Name:1389305352377
keyspace_namecolumnfamily_name  TrueDiskSpaceUsed   
 TotalDiskSpaceUsed 
Keyspace1Standard1  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)


[jira] [Commented] (CASSANDRA-5742) Add command list snapshots to nodetool

2013-12-17 Thread Lyuben Todorov (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13850774#comment-13850774
 ] 

Lyuben Todorov commented on CASSANDRA-5742:
---

The output seems confusing, can we go for something along the lines of

{noformat}
Snapshot Details: 
Snapshot Name   Keyspace Column Family   TrueDiskSpaceUsed  
  TotalDiskSpaceUsed 

1387304478196   Keyspace1Standard1   0 bytes
  308.66 MB
1387304417755   Keyspace1Standard1   0 bytes
  107.21 MB
1387305820866   Keyspace1Standard2   0 bytes
  41.69 MB
Keyspace1Standard1   0 bytes
  308.66 MB  
{noformat}

 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.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.4#6159)


[jira] [Commented] (CASSANDRA-5742) Add command list snapshots to nodetool

2013-12-17 Thread sankalp kohli (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13851114#comment-13851114
 ] 

sankalp kohli commented on CASSANDRA-5742:
--

[~lyubent]
The output in my comment was not properly formatted. The output now is similar 
to your. 
[~jbellis]
Node can have many snapshots which will have many overlapping files. I am not 
sure how to display them as there could be many combinations. Most people want 
to see the overall true disk space used by all snapshots. 
I can print the total in the end which will sum all the snapshots. I can print 
the total TrueDiskSpace there. 

 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.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.4#6159)


[jira] [Commented] (CASSANDRA-5742) Add command list snapshots to nodetool

2013-12-17 Thread Jonathan Ellis (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13851117#comment-13851117
 ] 

Jonathan Ellis commented on CASSANDRA-5742:
---

Right, that's pretty much what I was proposing initially. :)

 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.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.4#6159)


[jira] [Commented] (CASSANDRA-5742) Add command list snapshots to nodetool

2013-12-16 Thread sankalp kohli (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13849734#comment-13849734
 ] 

sankalp kohli commented on CASSANDRA-5742:
--

[~jbellis]
In this command, I am displaying snapshot and how much true space they are 
taking and how much total space they are taking. 
If I need to add your suggestion 
Suggest adding a total space used as well (that doesn't double-count multiple 
snapshots of the same file) the way we did for cfstats in

Then it will be a global value across snapshots and user can get that from 
cfstats. Does that sound reasonable? 

 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.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.4#6159)


[jira] [Commented] (CASSANDRA-5742) Add command list snapshots to nodetool

2013-12-16 Thread Jonathan Ellis (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13849749#comment-13849749
 ] 

Jonathan Ellis commented on CASSANDRA-5742:
---

What I'd like to accomplish is making it more obvious to the user that just 
because he has two snapshots that each take 1GB of space, doesn't mean that 
they take up 2GB combined.  Open to suggestions on implementation details.

 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.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.4#6159)


[jira] [Commented] (CASSANDRA-5742) Add command list snapshots to nodetool

2013-12-05 Thread Radovan Zvoncek (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13840285#comment-13840285
 ] 

Radovan Zvoncek commented on CASSANDRA-5742:


Hello. I would like to look into this one.

 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
Priority: Minor
  Labels: lhf

 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#6144)


[jira] [Commented] (CASSANDRA-5742) Add command list snapshots to nodetool

2013-12-05 Thread Jonathan Ellis (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13840358#comment-13840358
 ] 

Jonathan Ellis commented on CASSANDRA-5742:
---

Go for it

 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
Priority: Minor
  Labels: lhf

 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#6144)


[jira] [Commented] (CASSANDRA-5742) Add command list snapshots to nodetool

2013-12-05 Thread sankalp kohli (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13840440#comment-13840440
 ] 

sankalp kohli commented on CASSANDRA-5742:
--

I am working on it. Let me assign it to myself. I will have a patch ready by 
this weekend. 

 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
Priority: Minor
  Labels: lhf

 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#6144)


[jira] [Commented] (CASSANDRA-5742) Add command list snapshots to nodetool

2013-12-05 Thread sankalp kohli (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13840456#comment-13840456
 ] 

sankalp kohli commented on CASSANDRA-5742:
--

./nodetool -h localhost listsnapshots
The output will look something like
Snapshot Details: 
Snapshot Name:1386271615474
keyspace_namecolumnfamily_name  disk_used   
 
Keyspace2Standard1  402.51 MB   
 
Keyspace1Standard1  146.23 MB   
 
Snapshot Name:1386271380933
keyspace_namecolumnfamily_name  disk_used   
 
Keyspace2Standard1  286.53 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

 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#6144)


[jira] [Commented] (CASSANDRA-5742) Add command list snapshots to nodetool

2013-12-05 Thread sankalp kohli (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13840508#comment-13840508
 ] 

sankalp kohli commented on CASSANDRA-5742:
--

Let me add that too. 

 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

 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#6144)