You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Shuler (JIRA)" <ji...@apache.org> on 2015/03/19 07:26:39 UTC
[jira] [Reopened] (CASSANDRA-5791) A nodetool command to validate
all sstables in a node
[ https://issues.apache.org/jira/browse/CASSANDRA-5791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Shuler reopened CASSANDRA-5791:
---------------------------------------
trunk HEAD fails all these new VerifyTest unit tests - can we fix this up?
{noformat}
[junit] Testsuite: org.apache.cassandra.db.VerifyTest
[junit] Tests run: 10, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 3.161 sec
[junit]
[junit] ------------- Standard Output ---------------
[junit] WARN 06:21:48 No host ID found, created 3921d9b6-df80-4a62-95cb-7b4ab506e29b (Note: This should happen exactly once per node).
[junit] WARN 06:21:48 No host ID found, created 3921d9b6-df80-4a62-95cb-7b4ab506e29b (Note: This should happen exactly once per node).
[junit] ------------- ---------------- ---------------
[junit] Testcase: testVerifyCorrect(org.apache.cassandra.db.VerifyTest): FAILED
[junit] Unexpected CorruptSSTableException
[junit] junit.framework.AssertionFailedError: Unexpected CorruptSSTableException
[junit] at org.apache.cassandra.db.VerifyTest.testVerifyCorrect(VerifyTest.java:123)
[junit]
[junit]
[junit] Testcase: testVerifyCounterCorrect(org.apache.cassandra.db.VerifyTest): FAILED
[junit] Unexpected CorruptSSTableException
[junit] junit.framework.AssertionFailedError: Unexpected CorruptSSTableException
[junit] at org.apache.cassandra.db.VerifyTest.testVerifyCounterCorrect(VerifyTest.java:145)
[junit]
[junit]
[junit] Testcase: testExtendedVerifyCorrect(org.apache.cassandra.db.VerifyTest): FAILED
[junit] Unexpected CorruptSSTableException
[junit] junit.framework.AssertionFailedError: Unexpected CorruptSSTableException
[junit] at org.apache.cassandra.db.VerifyTest.testExtendedVerifyCorrect(VerifyTest.java:167)
[junit]
[junit]
[junit] Testcase: testExtendedVerifyCounterCorrect(org.apache.cassandra.db.VerifyTest): FAILED
[junit] Unexpected CorruptSSTableException
[junit] junit.framework.AssertionFailedError: Unexpected CorruptSSTableException
[junit] at org.apache.cassandra.db.VerifyTest.testExtendedVerifyCounterCorrect(VerifyTest.java:189)
[junit]
[junit]
[junit] Test org.apache.cassandra.db.VerifyTest FAILED
{noformat}
> A nodetool command to validate all sstables in a node
> -----------------------------------------------------
>
> Key: CASSANDRA-5791
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5791
> Project: Cassandra
> Issue Type: New Feature
> Components: Core
> Reporter: sankalp kohli
> Assignee: Jeff Jirsa
> Priority: Minor
> Fix For: 3.0
>
> Attachments: cassandra-5791-patch-3.diff, cassandra-5791.patch-2
>
>
> CUrrently there is no nodetool command to validate all sstables on disk. The only way to do this is to run a repair and see if it succeeds. But we cannot repair the system keyspace.
> Also we can run upgrade sstables but that re writes all the sstables.
> This command should check the hash of all sstables and return whether all data is readable all not. This should NOT care about consistency.
> The compressed sstables do not have hash so not sure how it will work there.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)