cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Terry Moschou (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-8821) Errors in JVM_OPTS and cassandra_parms environment vars
Date Wed, 18 Feb 2015 06:08:11 GMT
Terry Moschou created CASSANDRA-8821:
----------------------------------------

             Summary: Errors in JVM_OPTS and cassandra_parms environment vars
                 Key: CASSANDRA-8821
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8821
             Project: Cassandra
          Issue Type: Bug
         Environment: Ubuntu 14.04 LTS amd64

Repos:
deb http://www.apache.org/dist/cassandra/debian 21x main
deb-src http://www.apache.org/dist/cassandra/debian 21x main
            Reporter: Terry Moschou
            Priority: Minor
             Fix For: 2.1.3


The cassandra init script
  /etc/init.d/cassandra
is sourcing the environment file
  /etc/cassandra/cassandra-env.sh
twice. Once directly from the init script, and again inside
  /usr/sbin/cassandra
The result is arguments in JVM_OPTS are duplicated.

Further the JVM opt
  -XX:CMSWaitDuration=10000
is defined twice if jvm >= 1.7.60.

Also, for the environment variable CASSANDRA_CONF used in this context
  -XX:CompileCommandFile=$CASSANDRA_CONF/hotspot_compiler"
is undefined when
  /etc/cassandra/cassandra-env.sh
is sourced from the init script.

Lastly the variable cassandra_storagedir is undefined in
  /usr/sbin/cassandra
when used in this context
  -Dcassandra.storagedir=$cassandra_storagedir




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message