[ 
https://issues.apache.org/jira/browse/CASSANDRA-7802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14109969#comment-14109969
 ] 

Michael Shuler commented on CASSANDRA-7802:
-------------------------------------------

This looks fine to me - it appears that this was not added after jsvc was 
removed, so it seems a fine idea to add for picking up extra options from 
/etc/cassandra/default when a user doesn't wish to modify cassandra-env.sh

> Need to export JVM_OPTS from init.d script
> ------------------------------------------
>
>                 Key: CASSANDRA-7802
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7802
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>         Environment: Debian/Ubuntu
>            Reporter: Matt Robenolt
>            Priority: Minor
>              Labels: patch
>             Fix For: 2.0.11, 2.1.0
>
>         Attachments: 42.diff
>
>
> Since 2.0, the init.d script was refactored and requires JVM variables to be 
> exported for them to actually be picked up and used. In this case, JVM_OPTS 
> never gets exported, so user defined variables from /etc/default/cassandra 
> are never applied.
> This also affects the latest 2.1 rc, and I assume all previous versions.
> Pull request: https://github.com/apache/cassandra/pull/42
> Diff: https://github.com/apache/cassandra/pull/42.diff
> Patch: https://github.com/apache/cassandra/pull/42.patch



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to