-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
operateWithFailover fails against c* 1.2.1 when authentication is enabled. #584
Comments
I agree the fix is straightforward, but looks like we have a forcing function to move master to tracking 1.2 now as it will be incompatible with 1.1.x and 1.0.x of cassandra. Thanks for the details. |
No problem, happy to contribute. I see what you mean. Pretty sure the fix is backward compatible but it does mean you have to track 1.2.1 onwards. |
jbojar
added a commit
to jbojar/hector
that referenced
this issue
Apr 17, 2013
…c* 1.2.1 when authentication is enabled
jbojar
added a commit
to jbojar/hector
that referenced
this issue
Apr 17, 2013
…r fails against c* 1.2.1 when authentication is enabled
zznate
added a commit
that referenced
this issue
Apr 17, 2013
Patch for issue #584: operateWithFailover fails against c* 1.2.1 when authentication is enabled
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm kicking the tyres of cassandra 1.2.1 and have come across an issue.
I've enabled authentication using my own authenticator in cassandra. Most Hector operations fail as HConnectionManager.operateWIthFailover calls cassandraClient.set_keyspace (via client.getCassandra(op.keyspaceName) before calling c.login.
I get an InvalidRequestException (why: You have not logged in).
Looks like the code needs shuffling around to look something like this:
Note that this isn't a problem against c* 1.2.0. It's likely down to this bug that was fixed in 1.2.1.
https://issues.apache.org/jira/browse/CASSANDRA-5144
The text was updated successfully, but these errors were encountered: