[ https://issues.apache.org/jira/browse/CASSANDRA-8863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14339339#comment-14339339 ]
Michael Shuler edited comment on CASSANDRA-8863 at 2/26/15 10:57 PM: --------------------------------------------------------------------- That line is in cassandra-env.sh to append JVM_EXTRA_OPTS that were exported in a shell, or you could actually add a {{JVM_EXTRA_OPTS="-D..., -D..."}} line in cassandra-env.sh. /etc/default/cassandra is not the correct place to add JVM options. FYI, I'm removing the export of options added to /etc/default/cassandra in 8821 and basically commenting the same - cassandra-env.sh is the configuration file to modify or add JVM options. was (Author: mshuler): That line is in cassandra-env.sh to append JVM_EXTRA_OPTS that were exported in a shell, or you could actually add a {{JVM_EXTRA_OPTS="-D..., -D..." line in cassandra-env.sh. /etc/default/cassandra is not the correct place to add JVM options. FYI, I'm removing the export of options added to /etc/default/cassandra in 8821 and basically commenting the same - cassandra-env.sh is the configuration file to modify or add JVM options. > $JVM_EXTRA_OPTS not properly sourced > ------------------------------------ > > Key: CASSANDRA-8863 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8863 > Project: Cassandra > Issue Type: Bug > Components: Config > Reporter: Pablo RUTH > Assignee: Michael Shuler > Priority: Minor > Attachments: jvm-extra-opts.patch > > > JVM options set in /etc/default/cassandra whit $JVM_EXTRA_OPTS are not > properly sourced. The default file is sourced in the init script with the > cassandra-env.sh. But in /usr/sbin/cassandra only cassandra-env.sh is > sourced, not default so $JVM_EXTRA_OPTS are not applied to cassandra process. -- This message was sent by Atlassian JIRA (v6.3.4#6332)