Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-7802

Need to export JVM_OPTS from init.d script

    XMLWordPrintableJSON

    Details

    • Severity:
      Low
    • Since Version:

      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

        Attachments

        1. 42.diff
          0.3 kB
          Matt Robenolt

          Issue Links

            Activity

              People

              • Assignee:
                mattrobenolt Matt Robenolt
                Reporter:
                mattrobenolt Matt Robenolt
                Authors:
                Matt Robenolt
                Reviewers:
                Michael Shuler
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: