cqlsh

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

落花浮王杯 提交于 2019-11-26 16:38:45
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

Cassandra cqlsh - how to show microseconds/milliseconds for timestamp columns?

↘锁芯ラ 提交于 2019-11-26 15:47:46
问题 I'm inserting into a Cassandra table with timestamp columns. The data I have comes with microsecond precision, so the time data string looks like this: 2015-02-16T18:00:03.234+00:00 However, in cqlsh when I run a select query the microsecond data is not shown, I can only see time down to second precision. The 234 microseconds data is not shown. I guess I have two questions: 1) Does Cassandra capture microseconds with timestamp data type? My guess is yes? 2) How can I see that with cqlsh to

Cassandra cqlsh - connection refused

…衆ロ難τιáo~ 提交于 2019-11-26 14:11:39
问题 I've just started working with Cassandra (datastax), version 2.1.3 and cqlsh version 5.0.1. Cassandra starts up fine and the cluster is operational instantly. Cqlsh is not working (on any of the nodes) and emits the following error: Connection error: ('Unable to connect to any servers', {'127.0.0.1': error(111, "Tried connecting to [('127.0.0.1', 9042)]. Last error: Connection refused")}) I have tried starting cqlsh up with the hosts own ip, other hosts ip, different ports yet the result

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

别说谁变了你拦得住时间么 提交于 2019-11-26 04:54:38
问题 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