cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-7945) new cassanrda-stress does not work with NetworkTopologyStrategy
Date Tue, 16 Sep 2014 17:20:33 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-7945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benedict updated CASSANDRA-7945:
--------------------------------
    Attachment: 7945.txt

Could you give this patch a try?

It simply avoids passing through the extra RF option if it isn't the SimpleStrategy and it
isn't specified explicitly by the user, so should fix it.

> new cassanrda-stress does not work with NetworkTopologyStrategy
> ---------------------------------------------------------------
>
>                 Key: CASSANDRA-7945
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7945
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Yuki Morishita
>            Assignee: Benedict
>            Priority: Trivial
>              Labels: stress
>             Fix For: 2.1.1
>
>         Attachments: 7945.txt
>
>
> {code}
> $ cassandra-stress write -schema 'replication(strategy=NetworkTopologyStrategy,DC1=2,DC2=1)'
> {code}
> prints error:
> {code}
> Unable to create stress keyspace: Error constructing replication strategy class
> {code}
> Looks like it is caused by passing 'replication_factor' to NTS, which is illegal option
for NTS.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message