incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alaa Zubaidi <alaa.zuba...@pdf.com>
Subject Re: using SimpleAuthenticator is not working
Date Mon, 15 Nov 2010 20:26:42 GMT
I set authority to SimpleAuthority and log4j.rootLogger=DEBUG,stdout,R

and its still the same, the error in my application is
$batch_mutate_result.read(Cassandra.java:16477)  
InvalidRequestException(why: you have not logged in)

and in the system.log after DEBUG ...... Disseminating load info...
DEBUG ...... batch_mutate

There is no mention to the login() and set_keyspace() methods.
and no other information..

Thanks for the help


On 11/15/2010 11:42 AM, Eric Evans wrote:
> On Mon, 2010-11-15 at 11:30 -0800, Alaa Zubaidi wrote:
>> I tried both setting authority to
>> org.apache.cassandra.auth.SimpleAuthority and AllowAllAuthority...
> If you are using SimpleAuthenticator then you should be using
> SimpleAuthority.
>
>> I uncommitted the "Application logging options" in
>> log4j-server.properties, is this enough?
> No, you need to set the log level on the root logger.  By default that
> line looks like...
>
> log4j.rootLogger=INFO,stdout,R
>
> ...and you need to make it look like...
>
> log4j.rootLogger=DEBUG,stdout,R
>
>

-- 
Alaa Zubaidi
PDF Solutions, Inc.
333 West San Carlos Street, Suite 700
San Jose, CA 95110  USA
Tel: 408-283-5639 (or 408-280-7900 x5639)
fax: 408-938-6479
email: alaa.zubaidi@pdf.com



Mime
View raw message