[ 
https://issues.apache.org/jira/browse/CASSANDRA-13884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16404233#comment-16404233
 ] 

Jay Zhuang commented on CASSANDRA-13884:
----------------------------------------

Hi [[email protected]], seems the unittest ({{SSTableLoaderTest}}) is 
failing, would you please take a look? And it would be better to add a few 
tests:
{noformat}
$ ant test -Dtest.name=SSTableLoaderTest
...
    [junit] Testcase: 
testLoadingSSTable(org.apache.cassandra.io.sstable.SSTableLoaderTest):    FAILED
    [junit] expected:<1> but was:<0>
    [junit] junit.framework.AssertionFailedError: expected:<1> but was:<0>
    [junit]     at 
org.apache.cassandra.io.sstable.SSTableLoaderTest.testLoadingSSTable(SSTableLoaderTest.java:144)
    [junit]
    [junit]
    [junit] Testcase: 
testLoadingIncompleteSSTable(org.apache.cassandra.io.sstable.SSTableLoaderTest):
  FAILED
    [junit] null
    [junit] junit.framework.AssertionFailedError
    [junit]     at 
org.apache.cassandra.io.sstable.SSTableLoaderTest.testLoadingIncompleteSSTable(SSTableLoaderTest.java:195)
    [junit]
    [junit]
    [junit] Test org.apache.cassandra.io.sstable.SSTableLoaderTest FAILED
{noformat}

> sstableloader option to accept target keyspace name
> ---------------------------------------------------
>
>                 Key: CASSANDRA-13884
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13884
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Jaydeepkumar Chovatia
>            Assignee: Jaydeepkumar Chovatia
>            Priority: Minor
>             Fix For: 4.x
>
>
> Often as part of backup people store entire {{data}} directory. When they see 
> some corruption in data then they would like to restore data in same cluster 
> (for large clusters 200 nodes) but with different keyspace name. 
> Currently {{sstableloader}} uses parent folder as {{keyspace}}, it would be 
> nice to have an option to specify target keyspace name as part of 
> {{sstableloader}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to