Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 69816 invoked from network); 4 Aug 2010 12:05:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Aug 2010 12:05:12 -0000 Received: (qmail 49400 invoked by uid 500); 4 Aug 2010 12:05:11 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 49061 invoked by uid 500); 4 Aug 2010 12:05:07 -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 49053 invoked by uid 500); 4 Aug 2010 12:05:06 -0000 Delivered-To: apmail-incubator-cassandra-user@incubator.apache.org Received: (qmail 49050 invoked by uid 99); 4 Aug 2010 12:05:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Aug 2010 12:05:06 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Aug 2010 12:05:01 +0000 Received: from jim.nabble.com ([192.168.236.80]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Ogci8-0000YG-L7 for cassandra-user@incubator.apache.org; Wed, 04 Aug 2010 05:04:40 -0700 Date: Wed, 4 Aug 2010 05:04:40 -0700 (PDT) From: lisek To: cassandra-user@incubator.apache.org Message-ID: <1280923480619-5372223.post@n2.nabble.com> In-Reply-To: <1280921502989-5372126.post@n2.nabble.com> References: <1280921502989-5372126.post@n2.nabble.com> Subject: Re: configure login access to cassandra MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ok, I've figure it out with little help with people from IRC, , at first of course you have to edit access.properties and passwd.properties in =E2=80= =9Cconf=E2=80=9D dir =E2=80=93 I think you will know what to do here.=20 After that, edit cassandra.in.sh wich is in bin directory where you have installation of Cassandra.=20 At the end of file you=E2=80=99ve got in standard something like this: # Arguments to pass to the JVM JVM_OPTS=3D" \ -ea \ -Xms256M \ -Xmx1G \ -XX:+UseParNewGC \ -XX:+UseConcMarkSweepGC \ -XX:+CMSParallelRemarkEnabled \ -XX:SurvivorRatio=3D8 \ -XX:MaxTenuringThreshold=3D1 \ -XX:+HeapDumpOnOutOfMemoryError \ -Dcom.sun.management.jmxremote.port=3D8080 \ -Dcom.sun.management.jmxremote.ssl=3Dfalse \ -Dcom.sun.management.jmxremote.authenticate=3Dfalse=E2=80=9D You have to add those two lines to JVM_OPTS: -Daccess.properties=3D/opt/cassandra/conf/access.properties \ -Dpasswd.properties=3D/opt/cassandra/conf/passwd.properties=E2=80=9D Of course you have to change file locations but in my case it is like I wrote.=20 So after this operation all will look like this: # Arguments to pass to the JVM JVM_OPTS=3D" \ -ea \ -Xms256M \ -Xmx1G \ -XX:+UseParNewGC \ -XX:+UseConcMarkSweepGC \ -XX:+CMSParallelRemarkEnabled \ -XX:SurvivorRatio=3D8 \ -XX:MaxTenuringThreshold=3D1 \ -XX:+HeapDumpOnOutOfMemoryError \ -Dcom.sun.management.jmxremote.port=3D8080 \ -Dcom.sun.management.jmxremote.ssl=3Dfalse \ -Dcom.sun.management.jmxremote.authenticate=3Dfalse \ -Daccess.properties=3D/opt/cassandra/conf/access.properties \ -Dpasswd.properties=3D/opt/cassandra/conf/passwd.properties" Now I will test it on windows ;) Regards, Maciek --=20 View this message in context: http://cassandra-user-incubator-apache-org.30= 65146.n2.nabble.com/configure-login-access-to-cassandra-tp5372126p5372223.h= tml Sent from the cassandra-user@incubator.apache.org mailing list archive at N= abble.com.