[
https://issues.apache.org/jira/browse/CASSANDRA-7424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Ellis resolved CASSANDRA-7424.
---------------------------------------
Resolution: Invalid
The users list is the right forum for this.
> cassandra authentication failure 1.2.11
> ---------------------------------------
>
> Key: CASSANDRA-7424
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7424
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Environment: linux 2.6.18-371.6.1.el5 x86_64, cassandra 1.2.11. 6
> Node cluster, 3 in DC1 and 3 in DC2.
> Reporter: Paul Makkar
>
> I am having issues enabling authentication. On my 6 node cluster, I took one
> node and followed the instruction in the cassandra 1.2 guide, i.e. set
> authenticator: PasswordAuthenticator in the cassandra.yaml and restart
> cassandra. However, when I restart cassandra and try logging in, it hangs for
> a few seconds followed by the following error message:
> cassandra-cli -username cassandra -password cassandra
> Exception during authentication to the cassandra node, Verify the keyspace
> exists, and that you are using the correct credentials.
> The system_auth keyspace does exist:
> $ find system_auth/
> system_auth/
> system_auth/users
> system_auth/credentials
> system_auth/permissions
> I then tried setting the authoriser in the cassandra.yaml:
> authorizer: org.apache.cassandra.auth.CassandraAuthorizer
> But I get the same error.
> Then I disabled authentication and increased the replication factor of
> system_auth keyspace:
> update keyspace system_auth with placement_strategy =
> 'NetworkTopologyStrategy' and strategy_options = {DC1 : 3, DC2 : 3} and
> durable_writes = true;
> I reenabled authentication, but get the same error.
> I then shutdown cassandra and deleted the system, system_auth, system_traces
> data directories and restarted. I get the same error.
> Trying to log on with the cqlsh client gives this error:
> cql.cassandra.ttypes.AuthenticationException:
> AuthenticationException(why='org.apache.cassandra.exceptions.ReadTimeoutException:
> Operation timed out - received only 1 responses.')
> Can any advise what is going wrong here?
> Thanks in advance.
--
This message was sent by Atlassian JIRA
(v6.2#6252)