cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-4648) Unable to start Cassandra with simple authentication enabled
Date Thu, 27 Sep 2012 07:34:13 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-4648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13464525#comment-13464525
] 

Sylvain Lebresne commented on CASSANDRA-4648:
---------------------------------------------

bq. Is permissionalteringstatement related or just a refactor that happened to be included
in this patch?

It was meant to make it easier to add executeInternal, i.e. adding it to PermissionAlteringStatement
only instead of all its subclasses. And since it factor a few other methods too ...
                
> Unable to start Cassandra with simple authentication enabled
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-4648
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4648
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.0 beta 1
>         Environment: Mac OS X
>            Reporter: John Sanda
>            Assignee: Sylvain Lebresne
>              Labels: security
>             Fix For: 1.2.0 beta 2
>
>         Attachments: 4648.txt
>
>
> I followed the steps for enabling simple authentication as described here, http://www.datastax.com/docs/1.1/configuration/authentication.
I tried starting Cassandra with, 
> cassandra -f -Dpasswd.properties=conf/passwd.properties -Daccess.properties=conf/access.properties
> Start up failed with this exception in my log:
> ERROR [main] 2012-09-11 15:03:04,642 CassandraDaemon.java (line 403) Exception encountered
during startup
> java.lang.AssertionError: org.apache.cassandra.exceptions.InvalidRequestException: You
have not logged in
>         at org.apache.cassandra.cql3.QueryProcessor.processInternal(QueryProcessor.java:136)
>         at org.apache.cassandra.db.SystemTable.checkHealth(SystemTable.java:298)
>         at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:203)
>         at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:386)
>         at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:429)
> Caused by: org.apache.cassandra.exceptions.InvalidRequestException: You have not logged
in
>         at org.apache.cassandra.service.ClientState.validateLogin(ClientState.java:254)
>         at org.apache.cassandra.service.ClientState.hasColumnFamilyAccess(ClientState.java:235)
>         at org.apache.cassandra.cql3.statements.SelectStatement.checkAccess(SelectStatement.java:105)
>         at org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:106)
>         at org.apache.cassandra.cql3.QueryProcessor.processInternal(QueryProcessor.java:124)
>         ... 4 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message