Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 89309E528 for ; Mon, 11 Mar 2013 22:15:13 +0000 (UTC) Received: (qmail 46590 invoked by uid 500); 11 Mar 2013 22:15:13 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 46571 invoked by uid 500); 11 Mar 2013 22:15:13 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 46561 invoked by uid 99); 11 Mar 2013 22:15:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Mar 2013 22:15:13 +0000 Date: Mon, 11 Mar 2013 22:15:13 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-5310) New authentication module does not wok in multi datacenters in case of network outage MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-5310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13599395#comment-13599395 ] Jonathan Ellis commented on CASSANDRA-5310: ------------------------------------------- Sounds reasonable to me, +1 > New authentication module does not wok in multi datacenters in case of network outage > ------------------------------------------------------------------------------------- > > Key: CASSANDRA-5310 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5310 > Project: Cassandra > Issue Type: Improvement > Affects Versions: 1.2.2 > Environment: Ubuntu 12.04 > Cluster of 16 nodes in 2 datacenters (8 nodes in each datacenter) > Reporter: jal > Assignee: Aleksey Yeschenko > Priority: Minor > Fix For: 1.2.3 > > Attachments: auth_fix_consistency.patch > > > With 1.2.2, I am using the new authentication backend PasswordAuthenticator with the authorizer CassandraAuthorizer > In case of network outage, we are no more able to connect to Cassandra. > Here is the error message we get when I want to connect through cqlsh: > Traceback (most recent call last): > File "./cqlsh", line 2262, in > main(*read_options(sys.argv[1:], os.environ)) > File "./cqlsh", line 2248, in main > display_float_precision=options.float_precision) > File "./cqlsh", line 483, in __init__ > cql_version=cqlver, transport=transport) > File "./../lib/cql-internal-only-1.4.0.zip/cql-1.4.0/cql/connection.py", line 143, in connect > File "./../lib/cql-internal-only-1.4.0.zip/cql-1.4.0/cql/connection.py", line 59, in __init__ > File "./../lib/cql-internal-only-1.4.0.zip/cql-1.4.0/cql/thrifteries.py", line 157, in establish_connection > File "./../lib/cql-internal-only-1.4.0.zip/cql-1.4.0/cql/cassandra/Cassandra.py", line 455, in login > File "./../lib/cql-internal-only-1.4.0.zip/cql-1.4.0/cql/cassandra/Cassandra.py", line 476, in recv_login > cql.cassandra.ttypes.AuthenticationException: AuthenticationException(why='org.apache.cassandra.exceptions.UnavailableException: Cannot achieve consistency level QUORUM') -- 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