0

I am working with cassandra on odroid-xu4 with its Ubuntu-14 image. (I also tried Ubuntu-15 image. (http://odroid.com/dokuwiki/doku.php?id=en:xu3_release_linux_ubuntu)
I installed the latest cassandra and its python driver. However trying to connect to it from the cassandra python-driver gives a serios bus error and makes the python quit. Not even raises an exception.

from cassandra.cluster import Cluster
k = Cluster(['127.0.0.1'])
k.connect() 
#crashes the python. Bus error appears on the command prompt/terminal

Can anybody point me in the right direction? Looks like some incompatibility between things. I confirm that I can successfully cqlsh to the cassandra.

rajendra
  • 472
  • 3
  • 18

2 Answers2

0

Did you try

k.connect(keyspace)

?

ostefano
  • 496
  • 1
  • 5
  • 10
0

There was an alignment issue in earlier versions of the compiled deserialization extensions. This is resolved in PYTHON-450 in driver version 3.1.0 and beyond.

Adam Holmberg
  • 7,245
  • 3
  • 30
  • 53