[jira] [Commented] (CASSANDRA-7945) new cassanrda-stress does not work with NetworkTopologyStrategy
[ https://issues.apache.org/jira/browse/CASSANDRA-7945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15203619#comment-15203619 ] Dinesh Kumar commented on CASSANDRA-7945: - Hi, So what is the command to be used for assigning the replication_factor for multiple DCs (like DC1=2,DC2=1,DC=3) in stress along with NTS? Thanks, Dinesh > 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, 7945v2.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)
[jira] [Commented] (CASSANDRA-7945) new cassanrda-stress does not work with NetworkTopologyStrategy
[ https://issues.apache.org/jira/browse/CASSANDRA-7945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14135794#comment-14135794 ] Yuki Morishita commented on CASSANDRA-7945: --- {code} strategy.equals(org.apache.cassandra.locator.SimpleStrategy) {code} {{strategy}} here is {{OptionSimple}} object so equality is always false. so when no {{-schema}} it fails to create replication strategy. Otherwise, it works for NTS. 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)
[jira] [Commented] (CASSANDRA-7945) new cassanrda-stress does not work with NetworkTopologyStrategy
[ https://issues.apache.org/jira/browse/CASSANDRA-7945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14135907#comment-14135907 ] Yuki Morishita commented on CASSANDRA-7945: --- +1 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, 7945v2.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)