cassandra 3.11.2发布中的cqlsh 5.0.1是否已损坏?

Jer*_*lor 14 python cassandra cqlsh

我的OSX安装的Cassandra似乎已经被昨天的发布打破了.卡桑德拉似乎开始行了.

Jeremys-MacBook-Pro: fractal jeremy$ cqlsh --version
cqlsh 5.0.1



Jeremys-MacBook-Pro:fractal jeremy$ cqlsh localhost
Traceback (most recent call last):
  File "/usr/local/Cellar/cassandra/3.11.2/libexec/bin/cqlsh.py", line 2443, in <module>
    main(*read_options(sys.argv[1:], os.environ))
  File "/usr/local/Cellar/cassandra/3.11.2/libexec/bin/cqlsh.py", line 2421, in main
    encoding=options.encoding)
  File "/usr/local/Cellar/cassandra/3.11.2/libexec/bin/cqlsh.py", line 488, in __init__
    **kwargs)
  File "cassandra/cluster.py", line 735, in cassandra.cluster.Cluster.__init__ (cassandra/cluster.c:10935)
TypeError: __init__() got an unexpected keyword argument 'no_compact'
Run Code Online (Sandbox Code Playgroud)

小智 24

我刚评论过这一行488:#no_compact=no_compact,在文件中/usr/local/Cellar/cassandra/3.11.2/libexec/bin/cqlsh.py,它再次起作用.

  • 我在该文件中有五个对这个问题的引用,不得不对它们进行全面评论,它也可以正常工作 (2认同)
  • 对我来说这是483行,只是通过brew安装,但这对我也有用 (2认同)

小智 0

我也有这个问题。我当前的解决方法是通过 pip安装cqlsh ,然后通过 docker 容器运行 Cassandra (在我们的例子中是 ScyllaDB )。

您可以在此处提出问题。