The double JVM option was a side effect of
https://issues.apache.org/jira/browse/CASSANDRA-1771 and will be
addressed with the next release. The rpm uses the cassandra.in.sh from
the debian directory for convenience.

The instance of cassandra-env.sh in /usr/share/cassandra/conf is kept
as a reference. The cassandra-env.sh in /etc/cassandra is copied in
from here (as are the other property files) at install time. This is
just to facilitate there always being a clean version of the default
configuration available for reference.

Also, though the Riptano-maintained RPMs are based directly on
unmodified source releases, they are separate from Apache Cassandra.
I'm happy to field issues with them directly or on the lists. Thanks
for bringing it up though.

Cheers,
-Nate


On Thu, Dec 2, 2010 at 5:13 PM, Thor Carpenter
<tcarpen...@mediosystems.com> wrote:
> The rpm I'm using
> is: http://rpm.riptano.com/EL/6/x86_64/cassandra07-0.7.0-0rc1.el6.noarch.rpm.
> Yes, seems like a bug.  I created CASSANDRA-1808 .
> Thanks,
> -Thor
> On Dec 2, 2010, at 2:42 PM, Nick Bailey wrote:
>
> They should be set in cassandra-env.sh. Did you build the rpm yourself using
> the spec file in the source? If so its probably a bug. If not where did you
> get the rpm file from?
>
> On Thu, Dec 2, 2010 at 4:07 PM, Thor Carpenter <tcarpen...@mediosystems.com>
> wrote:
>>
>> Hi All,
>> After installing 0.7RC1 RPM on CentOS and starting the cassandra service I
>> am confused by the presence of duplicate and conflicting JVM params.  There
>> seem to be multiple places where JVM_OPTS are set.
>> Is this a known issue?  Any recommendations?
>> Thanks!
>> -Thor
>> # find / -name cassandra*.sh
>> /etc/cassandra/cassandra-env.sh
>> /usr/share/cassandra/conf/cassandra-env.sh
>> /usr/share/cassandra/cassandra.in.sh
>>
>> # ps aux | grep cassandra
>> 100       8881 51.5 54.0 620988 135616 ?       Sl   21:55   0:02
>> /usr/bin/java -Xdebug -Xms128M -Xmx1G -XX:TargetSurvivorRatio=90
>> -XX:+AggressiveOpts -XX:+UseParNewGC -XX:+UseConcMarkSweepGC
>> -XX:+CMSParallelRemarkEnabled -XX:+HeapDumpOnOutOfMemoryError
>> -XX:SurvivorRatio=128 -XX:MaxTenuringThreshold=0
>> -Dcom.sun.management.jmxremote.port=8080
>> -Dcom.sun.management.jmxremote.ssl=false
>> -Dcom.sun.management.jmxremote.authenticate=false -ea
>> -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms122M -Xmx122M
>> -XX:+HeapDumpOnOutOfMemoryError -Xss128k -XX:+UseParNewGC
>> -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:SurvivorRatio=8
>> -XX:MaxTenuringThreshold=1 -XX:CMSInitiatingOccupancyFraction=75
>> -XX:+UseCMSInitiatingOccupancyOnly -Djava.net.preferIPv4Stack=true
>> -Dcom.sun.management.jmxremote.port=8080
>> -Dcom.sun.management.jmxremote.ssl=false
>> -Dcom.sun.management.jmxremote.authenticate=false
>> -Dlog4j.configuration=log4j-server.properties
>> -Dcassandra-pidfile=/var/run/cassandra/cassandra.pid -cp
>> /etc/cassandra:/usr/share/cassandra/antlr-3.1.3.jar:/usr/share/cassandra/apache-cassandra-0.7.0-rc1-SNAPSHOT.jar:/usr/share/cassandra/apache-cassandra.jar:/usr/share/cassandra/avro-1.4.0-fixes.jar:/usr/share/cassandra/avro-1.4.0-sources-fixes.jar:/usr/share/cassandra/commons-cli-1.1.jar:/usr/share/cassandra/commons-codec-1.2.jar:/usr/share/cassandra/commons-collections-3.2.1.jar:/usr/share/cassandra/commons-lang-2.4.jar:/usr/share/cassandra/concurrentlinkedhashmap-lru-1.1.jar:/usr/share/cassandra/guava-r05.jar:/usr/share/cassandra/high-scale-lib.jar:/usr/share/cassandra/jackson-core-asl-1.4.0.jar:/usr/share/cassandra/jackson-mapper-asl-1.4.0.jar:/usr/share/cassandra/jetty-6.1.21.jar:/usr/share/cassandra/jetty-util-6.1.21.jar:/usr/share/cassandra/jline-0.9.94.jar:/usr/share/cassandra/json-simple-1.1.jar:/usr/share/cassandra/jug-2.0.0.jar:/usr/share/cassandra/libthrift-0.5.jar:/usr/share/cassandra/log4j-1.2.16.jar:/usr/share/cassandra/servlet-api-2.5-20081211.jar:/usr/share/cassandra/slf4j-api-1.6.1.jar:/usr/share/cassandra/slf4j-log4j12-1.6.1.jar:/usr/share/cassandra/snakeyaml-1.6.jar
>> org.apache.cassandra.thrift.CassandraDaemon
>>
>
>
>

Reply via email to