[ https://issues.apache.org/jira/browse/CASSANDRA-7945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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)