You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Matt Robenolt (JIRA)" <ji...@apache.org> on 2014/08/20 09:56:26 UTC

[jira] [Updated] (CASSANDRA-7802) Need to export JVM_OPTS from init.d script

     [ https://issues.apache.org/jira/browse/CASSANDRA-7802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Robenolt updated CASSANDRA-7802:
-------------------------------------

    Description: 
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

  was:
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.

See: https://github.com/apache/cassandra/pull/42


> 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: Critical
>              Labels: patch
>             Fix For: 2.0.9, 2.0.10, 2.1 rc6
>
>         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)