Cassandra压力测试:参数无效

时间:2018-03-21 16:06:01

标签: cassandra cassandra-3.0 stress-testing cassandra-stress cassandra-stress-tool

〜/ cassandra-stress 混合比率\(写= 5,读= 1 \)n = 100000 用户个人资料 = ./ cassandra.yaml 持续时间 = 15m'ops \(insert = 10 \)' cl = QUORUM -rate threads = 100 -mode native cql3 port = 9042 user = cassandra password = cassandra -transport truststore = / home /../../ truststore.jks truststore-password =“******* **“keystore = / home /../../../ cassandra-keystore.jks keystore-password =”*******“ssl-protocol = ****** ssl-alg = * ****** ssl-ciphers = ************* -node $ NODES -port native = 9042 jmx = 7199 < / p>

错误:无效的参数用户

1 个答案:

答案 0 :(得分:2)

mixed&amp; user模式是互斥的。您需要删除mixed ratio\(write=5,read=1\) n=100000部分,指定查询&amp;在.yaml文件中插入,然后将必要的配给指定为ops参数,例如:ops\(insert=3,read1=1\) n=100000