Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Was cqlsh 5.0.1 broken in cassandra 3.11.2 release?

My OSX install of Cassandra seems to have been broken by yesterday's release. Cassandra seems to start OK.

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'
like image 477
Jerry Taylor Avatar asked Feb 20 '18 13:02

Jerry Taylor


1 Answers

I just commented this line 488: #no_compact=no_compact, in file /usr/local/Cellar/cassandra/3.11.2/libexec/bin/cqlsh.py and it works again.

like image 88
bungle Avatar answered Oct 20 '22 07:10

bungle