cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-7894) Authorization fails occasionally even when user has permission
Date Sat, 06 Sep 2014 02:29:29 GMT


Aleksey Yeschenko commented on CASSANDRA-7894:

bq. How can we cache them for longer so we do not have to look up often?

See `permissions_validity_in_ms` in cassandra.yaml

> Authorization fails occasionally even when user has permission
> --------------------------------------------------------------
>                 Key: CASSANDRA-7894
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Vishy Kasar
> Production cluster uses org.apache.cassandra.auth.PasswordAuthenticator and org.apache.cassandra.auth.CassandraAuthorizer.
The user has SELECT and MODIFY permissions. 
> cqlsh> list ALL ON ALL KEYSPACES;
>           x_cassandra_user | <all keyspaces> |     SELECT
>           x_cassandra_user | <all keyspaces> |     MODIFY
> Millions of requests from user go through fine. A very small percentage fail with following
message sent back to hector client.
> Caused by: me.prettyprint.hector.api.exceptions.HInvalidRequestException: InvalidRequestException(why:User
x_cassandra_user has no SELECT permission on <table> or any of its parents)
> Any ideas now why this fails? 

This message was sent by Atlassian JIRA

View raw message