Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-12074

Faster check for open JMX port on startup

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                thobbs Tom Hobbs
                Reporter:
                thobbs Tom Hobbs
                Authors:
                Tom Hobbs
                Reviewers:
                Sam Tunnicliffe
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: