cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Tunnicliffe (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-11725) Check for unnecessary JMX port setting in env vars at startup
Date Tue, 10 May 2016 14:09:12 GMT


Sam Tunnicliffe updated CASSANDRA-11725:
       Resolution: Fixed
    Fix Version/s:     (was: 3.x)
           Status: Resolved  (was: Patch Available)

Thanks, committed to 3.6 in {{c17cbe1875a974a00822ffbfad716abde363c8da}} and merged to 3.7
& trunk.

> Check for unnecessary JMX port setting in env vars at startup
> -------------------------------------------------------------
>                 Key: CASSANDRA-11725
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Lifecycle
>            Reporter: Sam Tunnicliffe
>            Assignee: Sam Tunnicliffe
>            Priority: Minor
>              Labels: lhf
>             Fix For: 3.6
> Since CASSANDRA-10091, C* expects to always be in control of initializing its JMX connector
server. However, if  {{}} is set when the JVM is started,
the bootstrap agent takes over and sets up the server before any C* code runs. Because C*
is then unable to bind the server it creates to the specified port, startup is halted and
the root cause is somewhat unclear. 
> We should add a check at startup so a more informative message can be provided. This
would test for the presence of the system property which would differentiate from the case
where some other process is already bound to the port. 

This message was sent by Atlassian JIRA

View raw message