You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jay Zhuang (JIRA)" <ji...@apache.org> on 2018/03/18 23:12:00 UTC

[jira] [Commented] (CASSANDRA-13884) sstableloader option to accept target keyspace name

    [ 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 [~chovatia.jaydeep@gmail.com], 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org