mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-3.0' into cassandra-3.11
This commit is contained in:
commit
6e5150697e
|
|
@ -2,6 +2,7 @@
|
|||
* Fixed nodetool cfstats printing index name twice (CASSANDRA-14903)
|
||||
* Add flag to disable SASI indexes, and warnings on creation (CASSANDRA-14866)
|
||||
Merged from 3.0:
|
||||
* Add ability to customize cassandra log directory using $CASSANDRA_LOG_DIR (CASSANDRA-15090)
|
||||
* Skip cells with illegal column names when reading legacy sstables (CASSANDRA-15086)
|
||||
* Fix assorted gossip races and add related runtime checks (CASSANDRA-15059)
|
||||
* Fix mixed mode partition range scans with limit (CASSANDRA-15072)
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@
|
|||
# JVM_OPTS -- Additional arguments to the JVM for heap size, etc
|
||||
# JVM_ON_OUT_OF_MEMORY_ERROR_OPT -- The OnOutOfMemoryError JVM option if specified
|
||||
# CASSANDRA_CONF -- Directory containing Cassandra configuration files.
|
||||
# CASSANDRA_LOG_DIR -- Directory containing logs(default: $CASSANDRA_HOME/logs).
|
||||
#
|
||||
# As a convenience, a fragment of shell is sourced in order to set one or
|
||||
# more of these variables. This so-called `include' can be placed in a
|
||||
|
|
@ -125,6 +126,10 @@ if [ -f "$CASSANDRA_CONF/cassandra-env.sh" ]; then
|
|||
. "$CASSANDRA_CONF/cassandra-env.sh"
|
||||
fi
|
||||
|
||||
if [ -z "$CASSANDRA_LOG_DIR" ]; then
|
||||
CASSANDRA_LOG_DIR=$CASSANDRA_HOME/logs
|
||||
fi
|
||||
|
||||
# Special-case path variables.
|
||||
case "`uname`" in
|
||||
CYGWIN*|MINGW*)
|
||||
|
|
@ -189,7 +194,7 @@ launch_service()
|
|||
props="$3"
|
||||
class="$4"
|
||||
cassandra_parms="-Dlogback.configurationFile=logback.xml"
|
||||
cassandra_parms="$cassandra_parms -Dcassandra.logdir=$CASSANDRA_HOME/logs"
|
||||
cassandra_parms="$cassandra_parms -Dcassandra.logdir=$CASSANDRA_LOG_DIR"
|
||||
cassandra_parms="$cassandra_parms -Dcassandra.storagedir=$cassandra_storagedir"
|
||||
|
||||
if [ "x$pidpath" != "x" ]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue