cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sigmund Lundgren (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-6203) Authentication error on host localhost/127.0.0.1: Required key 'username' is missing
Date Tue, 15 Oct 2013 17:32:42 GMT
Sigmund Lundgren created CASSANDRA-6203:
-------------------------------------------

             Summary: Authentication error on host localhost/127.0.0.1: Required key 'username'
is missing
                 Key: CASSANDRA-6203
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6203
             Project: Cassandra
          Issue Type: Bug
          Components: Core
         Environment: Mac OS X 10.8.5, java 1.7.0_40
            Reporter: Sigmund Lundgren


When trying to authenticate using the datastax java driver 1.0.3 I get this exception message
while trying to connect to my local cassandra:
Authentication error on host localhost/127.0.0.1: Required key 'username' is missing
Tried cassandra 2.0 and 1.2.10, works fine.

Config:

authenticator: PasswordAuthenticator
authorizer: CassandraAuthorizer

Sample code:
Cluster.builder()
                    .withCredentials(username, password)
                    .withCompression(ProtocolOptions.Compression.NONE)
                    .addContactPoint(host).build()



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message