我用ubuntu16.04安装了cassandra3.11.5。安装完成,没有任何错误。我还可以获得nodetool状态:
pc-2@pc2-VirtualBox:~$ nodetool status
Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Tokens Owns (effective) Host ID
Rack
UN 127.0.0.1 318.24 KiB 256 100.0% ef702df8-
aaf1-4e98-b771-41d4e9bc1bcf rack1
但当我尝试启动cqlsh时,我得到以下错误:
pc-2@pc2-VirtualBox:~$ cqlsh
Connection error: ('Unable to connect to any servers',
{'127.0.0.1': ProtocolError('Unexpected response during Connection
setup: AttributeError("\'module\' object has no attribute
\'decompress\'",)',)})
已尝试:
1cqlsh 127.0.0.1标准
2export cqlsh\u no\u bundled=真
三。安装了python snappy,仍然得到相同的错误。
暂无答案!
目前还没有任何答案,快来回答吧!