我安装了datastax enterprise,版本如下,当我运行压力测试时,得到以下错误:
cqlsh> show version
[cqlsh 5.0.1 | Cassandra 2.1.12.1046 | DSE 4.8.4 | CQL spec 3.2.1 | Native protocol v3]
[root@pg0 opt]# cassandra-stress write n=19000000 -rate threads=4
为什么会出现以下错误:
Exception in thread "main" java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused.