non posso cqlsh all'host remotoCome connettersi a Cassandra (remotehost) utilizzando cqlsh
./cqlsh xx.xx.x.xxx 9042
Connection error: ('Unable to connect to any servers', {'10.101.33.163':
ConnectionException(u'Did not get expected SupportedMessage response;
instead, got: <ErrorMessage code=0000 [Server error]
message="io.netty.handler.codec.DecoderException:
org.apache.cassandra.transport.ProtocolException: Invalid or unsupported
protocol version: 4">',)})
Sto usando cqlsh 5.0.1 e pitone 2.7.10
./cqlsh --version
cqlsh 5.0.1
python -V
Python 2.7.10
Sono su Mac e usato le istruzioni da http://www.datastax.com/2012/01/working-with-apache-cassandra-on-mac-os-x per scaricare cassandra.
Cassandra sul mio locale è 2.2.1 (come ho capito dal file zip) e sembra che cassandra sull'host remoto NON sia 2.2.1 (presumo sia 2.0 o 2.1). Senza sapere che cosa definitivamente la versione è su host remoto, come posso provare a connettersi a Cassandra su host remoto
assomiglia a questo - http: // StackOverflow. it/questions/31444098/python-cassandra-driver-invalid-or-unsupported-protocol-version-4 – LHWizard