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 2AE8B184A6 for ; Thu, 6 Aug 2015 07:46:39 +0000 (UTC) Received: (qmail 9348 invoked by uid 500); 6 Aug 2015 07:46:04 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 9313 invoked by uid 500); 6 Aug 2015 07:46:04 -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 9295 invoked by uid 99); 6 Aug 2015 07:46:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2015 07:46:04 +0000 Date: Thu, 6 Aug 2015 07:46:04 +0000 (UTC) From: "Prabir Kr Sarkar (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-9915) IndexError('list index out of range') when trying to connect to Cassandra cluster with cqlsh 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-9915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14659639#comment-14659639 ] Prabir Kr Sarkar commented on CASSANDRA-9915: --------------------------------------------- Hi Adam, Please merge this ticket with https://datastax-oss.atlassian.net/browse/PYTHON-370 as they pertain to the same issue. We would like to have this driver issue resolved before moving into production. Thanks Prabir > IndexError('list index out of range') when trying to connect to Cassandra cluster with cqlsh > -------------------------------------------------------------------------------------------- > > Key: CASSANDRA-9915 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9915 > Project: Cassandra > Issue Type: Bug > Components: Core > Environment: Ubuntu, Cassandra 2.5.1, Python 2.7.3 > Reporter: Prabir Kr Sarkar > Assignee: Adam Holmberg > Priority: Critical > Labels: cqlsh > Fix For: 2.1.x > > Attachments: schema_columnfamilies.xls > > > Cassandra by default uses a Python driver to connect > {code} > >>> cluster = Cluster(['IP'], protocol_version=3) > >>> session = cluster.connect() > Traceback (most recent call last): > File "", line 1, in > File "/usr/local/lib/python2.7/dist-packages/cassandra/cluster.py", line 839, in connect > self.control_connection.connect() > File "/usr/local/lib/python2.7/dist-packages/cassandra/cluster.py", line 2075, in connect > self._set_new_connection(self._reconnect_internal()) > File "/usr/local/lib/python2.7/dist-packages/cassandra/cluster.py", line 2110, in _reconnect_internal > raise NoHostAvailable("Unable to connect to any servers", errors) > cassandra.cluster.NoHostAvailable: ('Unable to connect to any servers', {'IP': IndexError('list index out of range',)}) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)