Something else is using the port, perhaps an existing Cassandra process?
Use "lsof -i | grep 7000" to see what is.
If you need to change it, you are looking for storage_port in the config.
Now that I've made the JMX_PORT change cassandra will attempt to run.
(Dumb me, I didn't need to ask - the answer about changing JMX_PORT was already in the archives. I'm getting with it now, so I know to look there first. Just finding my way around cassandra....)
Made the change:
sudo ./bin/cassandra -f -p pidfile
threw a Fatal configuration error:
is in use by another process. Change listen_address:storage_port in cassandra.yaml to values that do not conflict with other services
In cassandra.yaml the line causing the problem is
Problem is, I have no idea what to change it to ???
And in addition, do I then need to make other changes?
- Bob Futrelle