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 Tue, 16 Nov 2010 01:02:43 GMT
I removed the exception handling and It seems that the login() is hanging?

On 11/15/2010 1:36 PM, Eric Evans wrote:
> On Mon, 2010-11-15 at 12:26 -0800, Alaa Zubaidi wrote:
>> 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..
> The login() method will either raise an AuthenticationException in the
> client application if the login failed, or log something like "logged
> in: #<User username groups=groupname>" if it succeeded.
>
> Either you're not actually calling login(), or your code is trapping the
> exception and obscuring the failure.
>
>

-- 
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