mirror of https://github.com/apache/cassandra
Remove pre-startup check for open JMX port
Patch by Tyler Hobbs; reviewed by Sam Tunnicliffe for CASSANDRA-12074
This commit is contained in:
parent
3023d59ba3
commit
c7ad00e3ea
|
|
@ -1,3 +1,6 @@
|
|||
3.10
|
||||
* Remove pre-startup check for open JMX port (CASSANDRA-12074)
|
||||
|
||||
3.9
|
||||
Merged from 2.1:
|
||||
* Avoid stalling paxos when the paxos state expires (CASSANDRA-12043)
|
||||
|
|
|
|||
|
|
@ -273,13 +273,6 @@ if [ "x$allow_root" != "xyes" ] ; then
|
|||
fi
|
||||
fi
|
||||
|
||||
# see CASSANDRA-7254
|
||||
"$JAVA" -cp "$CLASSPATH" $JVM_OPTS 2>&1 | grep -q 'Error: Exception thrown by the agent : java.lang.NullPointerException'
|
||||
if [ $? -ne "1" ]; then
|
||||
echo Unable to bind JMX, is Cassandra already running?
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
# Start up the service
|
||||
launch_service "$pidfile" "$foreground" "$properties" "$classname"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue