Conversation:
Notices
-
too good to be true. Install cassie 3.11 which requires Python 2. Nope, not going there: https://computingforgeeks.com/install-apache-cassandra-on-centos-linux/
Well, I might, but not without first trying to get 4.
-
not the greatest option either: https://downloads.apache.org/cassandra/redhat/40x/
-
I was under the impression 4 was out, but the Python 3 bug is closed in Cassandra 4, but Cassandra 4 isn't out yet. Python 2 it is, I guess.
-
Java developers really love their abstraction:
"Nodetool relies on JMX, which in turn relies on RMI, which in turn sets up its own listeners and connectors as needed on each end of the exchange"
-
not the fault of SELinux for once:
[centos@localhost cassandra]$ cqlsh
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")})
-
@musicman Either the server is not running / not listening on that localhost port or your firewall is blocking it.
-
it's running and 9042 is the default, but I wouldn't swear my install is running on 9942. I don't see a place to set a port.
-
I hadn't seen this before now, but maybe turning of SELinux was a good idea:
On RHEL nodes are unable to join the ring
Check if SELinux is on; if it is, turn it off.
-
"netstat --numeric-ports --protocol=inet"
-
May 08 15:47:55 dwhitfield-cassandra cassandra[32236]: ERROR [main] 2020-05-08 15:47:55,305 CassandraDaemon.java:774 - Fatal exception during initialization ps -aux | grep java cassand+ 1362 141 31.1 2801088 1203992 ? Ssl 15:49 0:12 java -Xloggc:/var/log/cassandra/gc.log -ea -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -XX:+HeapDumpOnOutOfMemoryError -Xss256k -XX:String…
-
as far as systemctl is concerned, it is up and running properly, but yeah, it should probably be bailing
-
I suspect the uninstall of Cassandra 4 was not clean. I'm just going to rm -rf all the cassandra stuff and start over
-
I had a python 3 version of cqlsh installed. Perhaps this is the issue before I blow everything away
-
victory, although those shell-init errors make me feel I may have created my server's version of an ISIS cell in so doing. Perhaps it's just a few blown up cars. nbd, really... [centos@localhost cassandra]$ cqlsh shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: get…