ian mccrae created CASSANDRA-6663:
-------------------------------------
Summary: Connecting to a Raspberry PI Cassandra Cluster crashes
the node being connected to
Key: CASSANDRA-6663
URL: https://issues.apache.org/jira/browse/CASSANDRA-6663
Project: Cassandra
Issue Type: Bug
Components: Drivers (now out of tree)
Environment: 4x node Raspberry PI cluster
Macbook running Idle 2.7
Reporter: ian mccrae
I have a working 4x node Raspberry Pi cluster and
# DevCenter happily connects to this (...which has an option to turn Snappy
compression off)
# ...however the Python Driver fails to connect and crashes the node being
connected to with the errors in the error-log below.
There appears to be a problem with Snappy compression (not supported on the
Raspberry Pi). So I also tried "compression = None" with the same result.
How might I fix this?
*Python Code*
>>> from cassandra.cluster import Cluster
>>> cluster = Cluster(['192.168.200.151'], compression = None)
>>> session = cluster.connect()
*Error Log*
{quote}
Traceback (most recent call last):
File "<pyshell#58>", line 1, in <module>
session = cluster.connect()
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cassandra/cluster.py",
line 471, in connect
self.control_connection.connect()
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cassandra/cluster.py",
line 1351, in connect
self._set_new_connection(self._reconnect_internal())
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cassandra/cluster.py",
line 1386, in _reconnect_internal
raise NoHostAvailable("Unable to connect to any servers", errors)
NoHostAvailable: ('Unable to connect to any servers', {'192.168.200.151':
ConnectionShutdown('Connection to 192.168.200.151 is closed',))
{quote}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)