Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 44682 invoked from network); 4 Dec 2010 07:01:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Dec 2010 07:01:15 -0000 Received: (qmail 13318 invoked by uid 500); 4 Dec 2010 07:01:12 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 13243 invoked by uid 500); 4 Dec 2010 07:01:12 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 13235 invoked by uid 99); 4 Dec 2010 07:01:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Dec 2010 07:01:11 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.216.179] (HELO mail-qy0-f179.google.com) (209.85.216.179) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Dec 2010 07:01:04 +0000 Received: by qyk11 with SMTP id 11so10959113qyk.10 for ; Fri, 03 Dec 2010 23:00:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.91.2 with SMTP id k2mr2050458qcm.147.1291446043044; Fri, 03 Dec 2010 23:00:43 -0800 (PST) Received: by 10.229.63.69 with HTTP; Fri, 3 Dec 2010 23:00:43 -0800 (PST) X-Originating-IP: [76.253.75.188] In-Reply-To: <439C797D-460F-4FCD-8848-763191F869E9@medio.com> References: <439C797D-460F-4FCD-8848-763191F869E9@medio.com> Date: Sat, 4 Dec 2010 01:00:43 -0600 Message-ID: Subject: Re: 0.7RC1 cassandra-env.sh or cassandra.in.sh? From: Nate McCall To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 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 wrote: > The rpm I'm using > is:=A0http://rpm.riptano.com/EL/6/x86_64/cassandra07-0.7.0-0rc1.el6.noarc= h.rpm. > Yes, seems like a bug. =A0I created=A0CASSANDRA-1808=A0. > 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 us= ing > the spec file in the source? If so its probably a bug. If not where did y= ou > get the rpm file from? > > On Thu, Dec 2, 2010 at 4:07 PM, Thor Carpenter > 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. =A0= There >> seem to be multiple places where JVM_OPTS are set. >> Is this a known issue? =A0Any 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 =A0 =A0 =A0 8881 51.5 54.0 620988 135616 ? =A0 =A0 =A0 Sl =A0 21:55 = =A0 0:02 >> /usr/bin/java -Xdebug -Xms128M -Xmx1G -XX:TargetSurvivorRatio=3D90 >> -XX:+AggressiveOpts -XX:+UseParNewGC -XX:+UseConcMarkSweepGC >> -XX:+CMSParallelRemarkEnabled -XX:+HeapDumpOnOutOfMemoryError >> -XX:SurvivorRatio=3D128 -XX:MaxTenuringThreshold=3D0 >> -Dcom.sun.management.jmxremote.port=3D8080 >> -Dcom.sun.management.jmxremote.ssl=3Dfalse >> -Dcom.sun.management.jmxremote.authenticate=3Dfalse -ea >> -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=3D42 -Xms122M -Xmx122M >> -XX:+HeapDumpOnOutOfMemoryError -Xss128k -XX:+UseParNewGC >> -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:SurvivorRatio= =3D8 >> -XX:MaxTenuringThreshold=3D1 -XX:CMSInitiatingOccupancyFraction=3D75 >> -XX:+UseCMSInitiatingOccupancyOnly -Djava.net.preferIPv4Stack=3Dtrue >> -Dcom.sun.management.jmxremote.port=3D8080 >> -Dcom.sun.management.jmxremote.ssl=3Dfalse >> -Dcom.sun.management.jmxremote.authenticate=3Dfalse >> -Dlog4j.configuration=3Dlog4j-server.properties >> -Dcassandra-pidfile=3D/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-cassan= dra.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/shar= e/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/co= ncurrentlinkedhashmap-lru-1.1.jar:/usr/share/cassandra/guava-r05.jar:/usr/s= hare/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/cassand= ra/jetty-6.1.21.jar:/usr/share/cassandra/jetty-util-6.1.21.jar:/usr/share/c= assandra/jline-0.9.94.jar:/usr/share/cassandra/json-simple-1.1.jar:/usr/sha= re/cassandra/jug-2.0.0.jar:/usr/share/cassandra/libthrift-0.5.jar:/usr/shar= e/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-log= 4j12-1.6.1.jar:/usr/share/cassandra/snakeyaml-1.6.jar >> org.apache.cassandra.thrift.CassandraDaemon >> > > >