mirror of https://github.com/apache/cassandra
Add sanity check of $JAVA on startup
patch by Robert Stupp; reviewed by Michael Shuler for CASSANDRA-7676
This commit is contained in:
parent
87cbcc0fc1
commit
fc0bb1520f
|
|
@ -1,4 +1,5 @@
|
|||
2.0.11:
|
||||
* Add sanity check of $JAVA on startup (CASSANDRA-7676)
|
||||
* Schedule fat client schema pull on join (CASSANDRA-7993)
|
||||
* Don't reset nodes' versions when closing IncomingTcpConnections
|
||||
(CASSANDRA-7734)
|
||||
|
|
|
|||
|
|
@ -98,6 +98,11 @@ else
|
|||
JAVA=java
|
||||
fi
|
||||
|
||||
if [ -z $JAVA ] ; then
|
||||
echo Unable to find java executable. Check JAVA_HOME and PATH environment variables. > /dev/stderr
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
# If numactl is available, use it. For Cassandra, the priority is to
|
||||
# avoid disk I/O. Even for the purpose of CPU efficiency, we don't
|
||||
# really have CPU<->data affinity anyway. Also, empirically test that numactl
|
||||
|
|
|
|||
Loading…
Reference in New Issue