Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Duplicate
-
None
-
None
-
None
-
Mac OS X 10.8.5, java 1.7.0_40
-
Normal
Description
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()
Attachments
Issue Links
- duplicates
-
CASSANDRA-6233 Authentication is broken for the protocol v1 on C* 2.0
- Resolved