cqlsh connection error: 'ref() does not take keyword arguments'

tet picture tet · Jul 27, 2016 · Viewed 18.4k times · Source

I've tried all the measures from this post and Cassandra doc.

I've tried running all the versions of Cassandra including the latest release 3.7 from tarball and Debian package, but I keep getting errors when I execute cqlsh.

Error:

Connection error: ('Unable to connect to any servers', {'127.0.0.1': TypeError('ref() does not take keyword arguments',)})

I had no problem running Cassandra before I upgraded my Linux Mint from 17.3 to 18.

I believe I installed all the necessary packages such as java 8 and python 2.7.12.

I think the problem exists in cassandra.yaml file since the default setting isn't working, but I'm not sure how to configure properly to get it running.

Any suggestions appreciated.

Answer

Jai picture Jai · Sep 15, 2016

refer https://issues.apache.org/jira/browse/CASSANDRA-11850

After setting environment variable

CQLSH_NO_BUNDLED=TRUE

it resolved.

I use windows 7, python 2.7.12, cassandra 3.7