cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Shuler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7802) Need to export JVM_OPTS from init.d script
Date Thu, 26 Feb 2015 23:01:09 GMT

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

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

[~mattrobenolt] just an FYI that this export of the JVM_OPTS is going to be removed from the
init script and /etc/default/cassandra is going to get some additional comments that conf/cassandra-env.sh
is really the correct place to add/modify your JVM options.

> 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
>            Assignee: Matt Robenolt
>            Priority: Minor
>              Labels: patch, qa-resolved
>             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.3.4#6332)

Mime
View raw message