[
https://issues.apache.org/jira/browse/CASSANDRA-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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)