-
Type:
Improvement
-
Status: Resolved
-
Priority:
Low
-
Resolution: Fixed
-
Fix Version/s: 3.10
-
Component/s: Local/Startup and Shutdown
-
Labels:None
Since CASSANDRA-7254, we check whether the JMX port is available before starting Cassandra in order to provide a better error message when another Cassandra process is already running. The current check starts a Java process to do this, which takes ~3 seconds. Instead, we can use lsof, which is basically instantaneous.
By my estimate, this will shave about 40 minutes off our dtest runs.
- relates to
-
CASSANDRA-7254 NPE on startup if another Cassandra instance is already running
-
- Resolved
-