cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-12074) Faster check for open JMX port on startup
Date Thu, 23 Jun 2016 16:18:16 GMT


Tyler Hobbs commented on CASSANDRA-12074:

Actually, the pre-check may not be necessary at all after CASSANDRA-10091.  Let me just verify
that older JVMs still give a good error message with that change.

> Faster check for open JMX port on startup
> -----------------------------------------
>                 Key: CASSANDRA-12074
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Lifecycle
>            Reporter: Tyler Hobbs
>            Assignee: Tyler Hobbs
>            Priority: Minor
>             Fix For: 3.x
> 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.

This message was sent by Atlassian JIRA

View raw message