当我尝试运行cqlsh时,我得到错误:
Connection error: ('Unable to connect to any servers', {'127.0.0.1': TypeError('ref() does not take keyword arguments',)})
我正确执行./bin/cassandra 如果我测试./bin/nodetool状态我得到:
状态=向上/向下
| / State = Normal / Leaving / Joining / Moving
- 地址加载令牌拥有(有效)主机ID Rack
UN 127.0.0.1 205,67 KiB 256 100,0%d260f9df-75c1-47af-b7ee-d7a9ad367ead rack1
这里是cassandra.yaml文件的一些参数:
seed_provider:
# Addresses of hosts that are deemed contact points.
# Cassandra nodes use this list of hosts to find each other and learn
# the topology of the ring. You must change this if you are running
# multiple nodes!
- class_name: org.apache.cassandra.locator.SimpleSeedProvider
parameters:
# seeds is actually a comma-delimited list of addresses.
# Ex: "<ip1>,<ip2>,<ip3>"
- seeds: "127.0.0.1"
storage_port: 700
listen_address: localhost
native_transport_port: 9042
我已经尝试过:
export CQLSH_NO_BUNDLED=true
pip install cassandra-driver
有人有想法吗?