【问题标题】:Cassandra-stress test: invalid parameterCassandra 压力测试:参数无效
【发布时间】:2018-08-30 20:42:32
【问题描述】:

~/cassandra-stress 混合比率\(write=5,read=1\) n=100000 用户配置文件=./ cassandra.yaml duration=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

错误:参数用户无效

【问题讨论】:

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


    【解决方案1】:

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

    【讨论】:

    • 我现在没有工作的 cassandra,但我怀疑你不能将 n=...duration= 参数混合在一起。您可能还需要转义 ops 参数中的括号 - 请注意我的示例中的 ``(反斜杠)
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-04-30
    • 1970-01-01
    • 2014-10-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多