[jira] [Comment Edited] (CASSANDRA-6663) Connecting to a Raspberry PI Cassandra Cluster crashes the node being connected to
[ https://issues.apache.org/jira/browse/CASSANDRA-6663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13898747#comment-13898747 ] Mikhail Stepura edited comment on CASSANDRA-6663 at 2/12/14 3:53 AM: - Yep, I've added some logging to the SnappyCompressor and run the python code from the above. The {{cluster.connect()}} (i.e. the very 1st {{OptionsMessage}} ) triggers the initialization of {{SnappyCompressor.instance}} was (Author: mishail): Yep, I've added some logging to the SnappyCompressor and run the python code from the above. The {{cluster.connect()}} triggers the initialization of {{SnappyCompressor.instance}} 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 Attachments: Python Client Log.txt, hs_err_pid6327.log 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* {noformat} from cassandra.cluster import Cluster cluster = Cluster(['192.168.200.151'], compression = None) session = cluster.connect() {noformat} *Error Log* {noformat} 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',)) {noformat} *A Dump of the cluster class attributes* {noformat} pprint(vars(cluster)) {'_core_connections_per_host': {0: 2, 1: 1}, '_is_setup': True, '_is_shutdown': True, '_listener_lock': thread.lock object at 0x10616d230, '_listeners': set([]), '_lock': _RLock owner=None count=0, '_max_connections_per_host': {0: 8, 1: 2}, '_max_requests_per_connection': {0: 100, 1: 100}, '_min_requests_per_connection': {0: 5, 1: 5}, '_prepared_statements': WeakValueDictionary at 4396942904, 'compression': None, 'contact_points': ['192.168.200.151'], 'control_connection': cassandra.cluster.ControlConnection object at 0x106168cd0, 'control_connection_timeout': 2.0, 'cql_version': None, 'executor': concurrent.futures.thread.ThreadPoolExecutor object at 0x106148410, 'load_balancing_policy': cassandra.policies.RoundRobinPolicy object at 0x104adae50, 'max_schema_agreement_wait': 10, 'metadata': cassandra.metadata.Metadata object at 0x1061481d0, 'metrics_enabled': False, 'port': 9042, 'scheduler': cassandra.cluster._Scheduler object at 0x106148550, 'sessions': _weakrefset.WeakSet object at 0x106148750, 'sockopts': None, 'ssl_options': None} {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Comment Edited] (CASSANDRA-6663) Connecting to a Raspberry PI Cassandra Cluster crashes the node being connected to
[ https://issues.apache.org/jira/browse/CASSANDRA-6663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13895833#comment-13895833 ] ian mccrae edited comment on CASSANDRA-6663 at 2/9/14 11:02 PM: Snappy has been turned off .or at least should have as I have: # Disabled internode compression in Cassandra.yaml files on nodes... with internode_compression: none # and called the Python driver with compression = none However these configuration options don't appear to be working. Also to my knowledge Snappy hasn't been ported to ARM and so it is not an option for the Raspberry Pi. Perhaps LZ4 can be used as an alternative. So this is a Bug. was (Author: ianm): Snappy has been turned off .or at least should have as I have: # Disabled internode compression in Cassandra.yaml files on nodes... with internode_compression: none # and called the Python driver with compression = none However these configuration options don't appear to be working. Also to my knowledge Snappy hasn't been ported to ARM and so it is NOT an option for the Raspberry Pi. So this is a Bug. 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 Attachments: Python Client Log.txt, hs_err_pid6327.log 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* {noformat} from cassandra.cluster import Cluster cluster = Cluster(['192.168.200.151'], compression = None) session = cluster.connect() {noformat} *Error Log* {noformat} 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',)) {noformat} *A Dump of the cluster class attributes* {noformat} pprint(vars(cluster)) {'_core_connections_per_host': {0: 2, 1: 1}, '_is_setup': True, '_is_shutdown': True, '_listener_lock': thread.lock object at 0x10616d230, '_listeners': set([]), '_lock': _RLock owner=None count=0, '_max_connections_per_host': {0: 8, 1: 2}, '_max_requests_per_connection': {0: 100, 1: 100}, '_min_requests_per_connection': {0: 5, 1: 5}, '_prepared_statements': WeakValueDictionary at 4396942904, 'compression': None, 'contact_points': ['192.168.200.151'], 'control_connection': cassandra.cluster.ControlConnection object at 0x106168cd0, 'control_connection_timeout': 2.0, 'cql_version': None, 'executor': concurrent.futures.thread.ThreadPoolExecutor object at 0x106148410, 'load_balancing_policy': cassandra.policies.RoundRobinPolicy object at 0x104adae50, 'max_schema_agreement_wait': 10, 'metadata': cassandra.metadata.Metadata object at 0x1061481d0, 'metrics_enabled': False, 'port': 9042, 'scheduler': cassandra.cluster._Scheduler object at 0x106148550, 'sessions': _weakrefset.WeakSet object at 0x106148750, 'sockopts': None, 'ssl_options': None} {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Comment Edited] (CASSANDRA-6663) Connecting to a Raspberry PI Cassandra Cluster crashes the node being connected to
[ https://issues.apache.org/jira/browse/CASSANDRA-6663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13895816#comment-13895816 ] ian mccrae edited comment on CASSANDRA-6663 at 2/9/14 3:26 AM: --- My cassandra.yaml file is configured as follows {noformat} # internode_compression controls whether traffic between nodes is # compressed. # can be: all - all traffic is compressed # dc - traffic between different datacenters is compressed # none - nothing is compressed. internode_compression: none {noformat} * andThe issue in ticket 5777 was that the cluster wouldn't start and the solution is to set internode_compression to none. However this I have already donehence my cluster is working * sothere is another problem was (Author: ianm): My cassandra.yaml file is configured as follows {quote} # internode_compression controls whether traffic between nodes is # compressed. # can be: all - all traffic is compressed # dc - traffic between different datacenters is compressed # none - nothing is compressed. internode_compression: none {quote} And... * AndThe issue in ticket 5777 was that the cluster wouldn't start and the solution is to set internode_compression to none. However this I have already donehence my cluster is working * sothere is another problem 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 Attachments: Python Client Log.txt, hs_err_pid6327.log 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} *A Dump of the cluster class attributes* {quote} pprint(vars(cluster)) {'_core_connections_per_host': {0: 2, 1: 1}, '_is_setup': True, '_is_shutdown': True, '_listener_lock': thread.lock object at 0x10616d230, '_listeners': set([]), '_lock': _RLock owner=None count=0, '_max_connections_per_host': {0: 8, 1: 2}, '_max_requests_per_connection': {0: 100, 1: 100}, '_min_requests_per_connection': {0: 5, 1: 5}, '_prepared_statements': WeakValueDictionary at 4396942904, 'compression': None, 'contact_points': ['192.168.200.151'], 'control_connection': cassandra.cluster.ControlConnection object at 0x106168cd0, 'control_connection_timeout': 2.0, 'cql_version': None, 'executor': concurrent.futures.thread.ThreadPoolExecutor object at 0x106148410, 'load_balancing_policy': cassandra.policies.RoundRobinPolicy object at 0x104adae50, 'max_schema_agreement_wait': 10, 'metadata': cassandra.metadata.Metadata object at 0x1061481d0, 'metrics_enabled': False, 'port': 9042, 'scheduler': cassandra.cluster._Scheduler object at 0x106148550, 'sessions': _weakrefset.WeakSet object at 0x106148750, 'sockopts': None, 'ssl_options': None} {quote} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Comment Edited] (CASSANDRA-6663) Connecting to a Raspberry PI Cassandra Cluster crashes the node being connected to
[ https://issues.apache.org/jira/browse/CASSANDRA-6663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13895833#comment-13895833 ] ian mccrae edited comment on CASSANDRA-6663 at 2/9/14 5:28 AM: --- Snappy has been turned off .or at least should have as I have: # Disabled internode compression in Cassandra.yaml files on nodes # and called the Python driver with compression = none However these configuration options don't appear to be working. Also to my knowledge Snappy hasn't been port to ARM and so therefore is not an option for the Raspberry Pi. So this is a Bug. was (Author: ianm): Snappy has been turned off .or at least should have as I have: # Disabled internode compression in Cassandra.yaml files on nodes # and called the Python driver with compression = none However these configuration options don't appear to be working. So this is a Bug. 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 Attachments: Python Client Log.txt, hs_err_pid6327.log 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* {noformat} from cassandra.cluster import Cluster cluster = Cluster(['192.168.200.151'], compression = None) session = cluster.connect() {noformat} *Error Log* {noformat} 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',)) {noformat} *A Dump of the cluster class attributes* {noformat} pprint(vars(cluster)) {'_core_connections_per_host': {0: 2, 1: 1}, '_is_setup': True, '_is_shutdown': True, '_listener_lock': thread.lock object at 0x10616d230, '_listeners': set([]), '_lock': _RLock owner=None count=0, '_max_connections_per_host': {0: 8, 1: 2}, '_max_requests_per_connection': {0: 100, 1: 100}, '_min_requests_per_connection': {0: 5, 1: 5}, '_prepared_statements': WeakValueDictionary at 4396942904, 'compression': None, 'contact_points': ['192.168.200.151'], 'control_connection': cassandra.cluster.ControlConnection object at 0x106168cd0, 'control_connection_timeout': 2.0, 'cql_version': None, 'executor': concurrent.futures.thread.ThreadPoolExecutor object at 0x106148410, 'load_balancing_policy': cassandra.policies.RoundRobinPolicy object at 0x104adae50, 'max_schema_agreement_wait': 10, 'metadata': cassandra.metadata.Metadata object at 0x1061481d0, 'metrics_enabled': False, 'port': 9042, 'scheduler': cassandra.cluster._Scheduler object at 0x106148550, 'sessions': _weakrefset.WeakSet object at 0x106148750, 'sockopts': None, 'ssl_options': None} {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Comment Edited] (CASSANDRA-6663) Connecting to a Raspberry PI Cassandra Cluster crashes the node being connected to
[ https://issues.apache.org/jira/browse/CASSANDRA-6663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13895833#comment-13895833 ] ian mccrae edited comment on CASSANDRA-6663 at 2/9/14 5:26 AM: --- Snappy has been turned off .or at least should have as I have: # Disabled internode compression in Cassandra.yaml files on nodes # and called the Python driver with compression = none However these configuration options don't appear to be working. So this is a Bug. was (Author: ianm): Snappy has been turned off .or at least should have as I have: # Disabled compression in the Cassandra.yaml file # and called the Python driver with compression = none However these configuration options don't appear to be working. So this is a Bug. 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 Attachments: Python Client Log.txt, hs_err_pid6327.log 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* {noformat} from cassandra.cluster import Cluster cluster = Cluster(['192.168.200.151'], compression = None) session = cluster.connect() {noformat} *Error Log* {noformat} 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',)) {noformat} *A Dump of the cluster class attributes* {noformat} pprint(vars(cluster)) {'_core_connections_per_host': {0: 2, 1: 1}, '_is_setup': True, '_is_shutdown': True, '_listener_lock': thread.lock object at 0x10616d230, '_listeners': set([]), '_lock': _RLock owner=None count=0, '_max_connections_per_host': {0: 8, 1: 2}, '_max_requests_per_connection': {0: 100, 1: 100}, '_min_requests_per_connection': {0: 5, 1: 5}, '_prepared_statements': WeakValueDictionary at 4396942904, 'compression': None, 'contact_points': ['192.168.200.151'], 'control_connection': cassandra.cluster.ControlConnection object at 0x106168cd0, 'control_connection_timeout': 2.0, 'cql_version': None, 'executor': concurrent.futures.thread.ThreadPoolExecutor object at 0x106148410, 'load_balancing_policy': cassandra.policies.RoundRobinPolicy object at 0x104adae50, 'max_schema_agreement_wait': 10, 'metadata': cassandra.metadata.Metadata object at 0x1061481d0, 'metrics_enabled': False, 'port': 9042, 'scheduler': cassandra.cluster._Scheduler object at 0x106148550, 'sessions': _weakrefset.WeakSet object at 0x106148750, 'sockopts': None, 'ssl_options': None} {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Comment Edited] (CASSANDRA-6663) Connecting to a Raspberry PI Cassandra Cluster crashes the node being connected to
[ https://issues.apache.org/jira/browse/CASSANDRA-6663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13895833#comment-13895833 ] ian mccrae edited comment on CASSANDRA-6663 at 2/9/14 5:31 AM: --- Snappy has been turned off .or at least should have as I have: # Disabled internode compression in Cassandra.yaml files on nodes... with internode_compression: none # and called the Python driver with compression = none However these configuration options don't appear to be working. Also to my knowledge Snappy hasn't been port to ARM and so therefore is not an option for the Raspberry Pi. So this is a Bug. was (Author: ianm): Snappy has been turned off .or at least should have as I have: # Disabled internode compression in Cassandra.yaml files on nodes # and called the Python driver with compression = none However these configuration options don't appear to be working. Also to my knowledge Snappy hasn't been port to ARM and so therefore is not an option for the Raspberry Pi. So this is a Bug. 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 Attachments: Python Client Log.txt, hs_err_pid6327.log 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* {noformat} from cassandra.cluster import Cluster cluster = Cluster(['192.168.200.151'], compression = None) session = cluster.connect() {noformat} *Error Log* {noformat} 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',)) {noformat} *A Dump of the cluster class attributes* {noformat} pprint(vars(cluster)) {'_core_connections_per_host': {0: 2, 1: 1}, '_is_setup': True, '_is_shutdown': True, '_listener_lock': thread.lock object at 0x10616d230, '_listeners': set([]), '_lock': _RLock owner=None count=0, '_max_connections_per_host': {0: 8, 1: 2}, '_max_requests_per_connection': {0: 100, 1: 100}, '_min_requests_per_connection': {0: 5, 1: 5}, '_prepared_statements': WeakValueDictionary at 4396942904, 'compression': None, 'contact_points': ['192.168.200.151'], 'control_connection': cassandra.cluster.ControlConnection object at 0x106168cd0, 'control_connection_timeout': 2.0, 'cql_version': None, 'executor': concurrent.futures.thread.ThreadPoolExecutor object at 0x106148410, 'load_balancing_policy': cassandra.policies.RoundRobinPolicy object at 0x104adae50, 'max_schema_agreement_wait': 10, 'metadata': cassandra.metadata.Metadata object at 0x1061481d0, 'metrics_enabled': False, 'port': 9042, 'scheduler': cassandra.cluster._Scheduler object at 0x106148550, 'sessions': _weakrefset.WeakSet object at 0x106148750, 'sockopts': None, 'ssl_options': None} {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Comment Edited] (CASSANDRA-6663) Connecting to a Raspberry PI Cassandra Cluster crashes the node being connected to
[ https://issues.apache.org/jira/browse/CASSANDRA-6663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13895833#comment-13895833 ] ian mccrae edited comment on CASSANDRA-6663 at 2/9/14 5:32 AM: --- Snappy has been turned off .or at least should have as I have: # Disabled internode compression in Cassandra.yaml files on nodes... with internode_compression: none # and called the Python driver with compression = none However these configuration options don't appear to be working. Also to my knowledge Snappy hasn't been ported to ARM and so it is NOT an option for the Raspberry Pi. So this is a Bug. was (Author: ianm): Snappy has been turned off .or at least should have as I have: # Disabled internode compression in Cassandra.yaml files on nodes... with internode_compression: none # and called the Python driver with compression = none However these configuration options don't appear to be working. Also to my knowledge Snappy hasn't been port to ARM and so therefore is not an option for the Raspberry Pi. So this is a Bug. 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 Attachments: Python Client Log.txt, hs_err_pid6327.log 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* {noformat} from cassandra.cluster import Cluster cluster = Cluster(['192.168.200.151'], compression = None) session = cluster.connect() {noformat} *Error Log* {noformat} 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',)) {noformat} *A Dump of the cluster class attributes* {noformat} pprint(vars(cluster)) {'_core_connections_per_host': {0: 2, 1: 1}, '_is_setup': True, '_is_shutdown': True, '_listener_lock': thread.lock object at 0x10616d230, '_listeners': set([]), '_lock': _RLock owner=None count=0, '_max_connections_per_host': {0: 8, 1: 2}, '_max_requests_per_connection': {0: 100, 1: 100}, '_min_requests_per_connection': {0: 5, 1: 5}, '_prepared_statements': WeakValueDictionary at 4396942904, 'compression': None, 'contact_points': ['192.168.200.151'], 'control_connection': cassandra.cluster.ControlConnection object at 0x106168cd0, 'control_connection_timeout': 2.0, 'cql_version': None, 'executor': concurrent.futures.thread.ThreadPoolExecutor object at 0x106148410, 'load_balancing_policy': cassandra.policies.RoundRobinPolicy object at 0x104adae50, 'max_schema_agreement_wait': 10, 'metadata': cassandra.metadata.Metadata object at 0x1061481d0, 'metrics_enabled': False, 'port': 9042, 'scheduler': cassandra.cluster._Scheduler object at 0x106148550, 'sessions': _weakrefset.WeakSet object at 0x106148750, 'sockopts': None, 'ssl_options': None} {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)