Thanks for the clarification -- it doesn't sound too bad for my purposes.

As per your suggestion, I've created an issue:
https://issues.apache.org/jira/browse/CASSANDRA-5080

Best regards,
Sergey


aaron morton wrote
> The following features will not be available in the cli:
> 
> * in describe keyspace you will not get current index rebuilds
> * in describe keyspace you will not get current built indexes  
> 
> Do you want to create a ticket to add JMX user name and password support
> to cassandra-cli ?  https://issues.apache.org/jira/browse/CASSANDRA
> 
> Cheers
> -----------------
> Aaron Morton
> Freelance Cassandra Developer
> New Zealand
> 
> @aaronmorton
> http://www.thelastpickle.com
> 
> On 19/12/2012, at 2:24 AM, Sergey Olefir <

> solf.lists@

> > wrote:
> 
>> Hi,
>> 
>> for a number of reasons (particularly to prevent accidental access), I've
>> decided to try to secure (slightly) our Cassandra installation(s).
>> 
>> To this end I've started with 'securing' client access via code very
>> similar
>> to SimpleAuthenticator (in examples dir). This, however, has no effect on
>> nodetool operation which uses JMX. So I went ahead with securing JMX
>> access
>> as well (via -Dcom.sun.management.jmxremote.password.file and
>> -Dcom.sun.management.jmxremote.access.file).
>> 
>> This seemed to work well, except now if I use cassandra-cli (on Windows)
>> to
>> interact with the server, it gives me the following:
>> apache-cassandra-1.1.6\bin>cassandra-cli -h hostname -u experiment -pw
>> password
>> Starting Cassandra Client
>> Connected to: "db" on hostname/9160
>> Welcome to Cassandra CLI version 1.1.6
>> 
>> [experiment@unknown] show keyspaces;
>> WARNING: Could not connect to the JMX on hostname:7199, information won't
>> be
>> shown.
>> 
>> Keyspace: system:
>>  Replication Strategy: org.apache.cassandra.locator.LocalStrategy
>>  Durable Writes: true
>>    Options: [replication_factor:1]
>> ... (rest of keyspace output snipped)
>> 
>> I am concerned about this WARNING. I still seem to get the output (at
>> least
>> for the 'system' keyspace, don't have anything else there yet), but I'm
>> wondering what problems I can expect and if there's a way to resolve this
>> WARNING (I'm guessing it has to do with specifying credentials for JMX in
>> addition to credentials used for client access)?
>> 
>> Thanks in advance,
>> Sergey
>> 
>> 
>> 
>> --
>> View this message in context:
>> http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/cassandra-cli-secured-JMX-WARNING-Could-not-connect-to-the-JMX-tp7584322.html
>> Sent from the 

> cassandra-user@.apache

>  mailing list archive at Nabble.com.





--
View this message in context: 
http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/cassandra-cli-secured-JMX-WARNING-Could-not-connect-to-the-JMX-tp7584322p7584375.html
Sent from the cassandra-u...@incubator.apache.org mailing list archive at 
Nabble.com.

Reply via email to