我已经在cassandra集群中启用了客户端到节点和节点到节点的加密。我需要传递什么可选参数才能让cassandra-stress工作?
我正在寻找任何关于使用这个的例子或好的文档。
发布于 2016-10-08 02:28:20
也许你已经找到了答案,但我会回答那些可能会来寻找的人。
尝试:
cassandra-stress write -node 127.0.0.1 -transport truststore=/path/to/cluster/truststore.jks truststore-password=mytruststorepassword -mode native cql3 user=myuser password=mypassword
我发现this的博客文章非常有用。
这在Apache Cassandra v2.1中是不可用的,如果你想了解更多关于它是如何实现的,请看这篇JIRA文章
https://stackoverflow.com/questions/37214086
相似问题