Remove pre-startup check for open JMX port

Patch by Tyler Hobbs; reviewed by Sam Tunnicliffe for CASSANDRA-12074
This commit is contained in:
Tyler Hobbs 2016-06-28 11:16:28 -05:00
parent 3023d59ba3
commit c7ad00e3ea
2 changed files with 3 additions and 7 deletions

View File

@ -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)

View File

@ -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"