You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Thomas Steinmaurer (Jira)" <ji...@apache.org> on 2020/10/01 05:12:00 UTC

[jira] [Created] (CASSANDRA-16153) Cassandra 4b2 - JVM options from *.options not read/set

Thomas Steinmaurer created CASSANDRA-16153:
----------------------------------------------

             Summary: Cassandra 4b2 - JVM options from *.options not read/set
                 Key: CASSANDRA-16153
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16153
             Project: Cassandra
          Issue Type: Bug
          Components: Local/Scripts
            Reporter: Thomas Steinmaurer


Trying out Cassandra 4 beta 2 with Java 8 (AdoptOpenJDK) on Ubuntu 18.04 LTS. It seems the Cassandra JVM results in using Parallel GC. In Cassandra 3, default has been CMS.

Digging a bit further, it seems like the {{jvm8-server.options}} resp. {{jvm11-server.options}} files aren't used/processed in e.g. {{cassandra-env.sh}}.

E.g. in Cassandra 3.11, here we something like that in {{cassandra-env.sh}}.
{noformat}
# Read user-defined JVM options from jvm.options file
JVM_OPTS_FILE=$CASSANDRA_CONF/jvm.options
for opt in `grep "^-" $JVM_OPTS_FILE`
do
  JVM_OPTS="$JVM_OPTS $opt"
done
{noformat}

Can't find something similar in {{cassandra-env.sh}} for Cassandra 4 beta2.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org