Skip to content

Commit

Permalink
Merge branch 'cassandra-3.11' into trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
driftx committed Feb 26, 2020
2 parents 958aa79 + 1b29401 commit 324267b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
2 changes: 2 additions & 0 deletions CHANGES.txt
Expand Up @@ -28,6 +28,8 @@
* Potential Overflow in DatabaseDescriptor Functions That Convert Between KB/MB & Bytes (CASSANDRA-15470)
Merged from 3.0:
* Run evictFromMembership in GossipStage (CASSANDRA-15592)
Merged from 2.2:
* Allow EXTRA_CLASSPATH to work on tar/source installations (CASSANDRA-15567)

4.0-alpha3
* Restore monotonic read consistency guarantees for blocking read repair (CASSANDRA-14740)
Expand Down
1 change: 1 addition & 0 deletions bin/cassandra
Expand Up @@ -27,6 +27,7 @@
# behavior, those variables are:
#
# CLASSPATH -- A Java classpath containing everything necessary to run.
# EXTRA_CLASSPATH -- A Java classpath with anything to be appended to CLASSPATH
# 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.
Expand Down
3 changes: 3 additions & 0 deletions bin/cassandra.in.sh
Expand Up @@ -51,6 +51,9 @@ done
for jsr223jar in "$CASSANDRA_HOME"/lib/jsr223/*/*.jar; do
CLASSPATH="$CLASSPATH:$jsr223jar"
done

CLASSPATH="$CLASSPATH:$EXTRA_CLASSPATH"

# JSR223/JRuby - set ruby lib directory
if [ -d "$CASSANDRA_HOME"/lib/jsr223/jruby/ruby ] ; then
export JVM_OPTS="$JVM_OPTS -Djruby.lib=$CASSANDRA_HOME/lib/jsr223/jruby"
Expand Down
11 changes: 4 additions & 7 deletions debian/patches/cassandra_in.sh_dirs.diff
Expand Up @@ -25,7 +25,7 @@

# This can be the path to a jar file, or a directory containing the
# compiled classes. NOTE: This isn't needed by the startup script,
@@ -38,7 +38,7 @@
@@ -38,7 +38,7 @@ fi

# the default location for commitlogs, sstables, and saved caches
# if not set in cassandra.yaml
Expand All @@ -34,17 +34,14 @@

# JAVA_HOME can optionally be set here
#JAVA_HOME=/usr/local/jdk6
@@ -47,6 +47,13 @@
@@ -47,6 +47,10 @@ for jar in "$CASSANDRA_HOME"/lib/*.jar; do
CLASSPATH="$CLASSPATH:$jar"
done

+for jar in "$CASSANDRA_HOME"/*.jar; do
+ CLASSPATH="$CLASSPATH:$jar"
+done
+
+# Include EXTRA_CLASSPATH from /etc/default/cassandra
+CLASSPATH="$CLASSPATH:$EXTRA_CLASSPATH"
+
CLASSPATH="$CLASSPATH:$EXTRA_CLASSPATH"

# JSR223 - collect all JSR223 engines' jars
for jsr223jar in "$CASSANDRA_HOME"/lib/jsr223/*/*.jar; do
CLASSPATH="$CLASSPATH:$jsr223jar"

0 comments on commit 324267b

Please sign in to comment.