You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Tyler Tolley <th...@gmail.com> on 2014/09/17 23:33:50 UTC

cqlsh 2.1 to cassandra 2.0.7

Just upgraded cassandra to 2.1 on my own box and when I try to connect to
our server running 2.0.7, I get the following error.

Connection error: ('Unable to connect to any servers', {'10.0.16.144':
ConnectionShutdown('Connection <AsyncoreConnection(25708560)
10.0.16.144:9042 (closed)> is already closed',)})

With debug on I get the following output.

Using CQL driver: <module 'cassandra' from
'/usr/share/cassandra/lib/cassandra-driver-internal-only-2.1.0.post.zip/cassandra-driver-2.1.0.post/cassandra/__init__.py'>
Connection error: ('Unable to connect to any servers', {'10.0.16.144':
ConnectionShutdown('Connection <AsyncoreConnection(26384400)
10.0.16.144:9042 (closed)> is already closed',)})

If I try to connect using an earlier version of cqlsh, it connects fine.
Anyone seen this before or have any advice on how to dig into the problem
further? Thanks,
 -Tyler

Re: cqlsh 2.1 to cassandra 2.0.7

Posted by Tyler Tolley <th...@gmail.com>.
I did and got the same error.

On Thu, Sep 18, 2014 at 9:10 AM, groupie02 <gr...@gmail.com> wrote:

> did you try running cqlsh with --cqlversion?
>
> On Thu, Sep 18, 2014 at 9:17 AM, Adam Holmberg <adam.holmberg@datastax.com
> > wrote:
>
>> There is now a ticket open to look into this and produce a more
>> informative error message:
>> https://datastax-oss.atlassian.net/browse/PYTHON-157
>>
>> Adam
>>
>>
>> On Wed, Sep 17, 2014 at 4:47 PM, Adam Holmberg <
>> adam.holmberg@datastax.com> wrote:
>>
>>> This is not really supported. Presently cqlsh hard-codes CQL and
>>> protocol to versions only supported in 2.1:
>>>
>>> https://github.com/apache/cassandra/blob/cassandra-2.1.0/bin/cqlsh#L144-L147
>>>
>>> Your best bet is probably downloading a 2.0.x tarball and running out of
>>> there.
>>>
>>> Adam Holmberg
>>>
>>> On Wed, Sep 17, 2014 at 4:33 PM, Tyler Tolley <th...@gmail.com>
>>> wrote:
>>>
>>>> Just upgraded cassandra to 2.1 on my own box and when I try to connect
>>>> to our server running 2.0.7, I get the following error.
>>>>
>>>> Connection error: ('Unable to connect to any servers', {'10.0.16.144':
>>>> ConnectionShutdown('Connection <AsyncoreConnection(25708560)
>>>> 10.0.16.144:9042 (closed)> is already closed',)})
>>>>
>>>> With debug on I get the following output.
>>>>
>>>> Using CQL driver: <module 'cassandra' from
>>>> '/usr/share/cassandra/lib/cassandra-driver-internal-only-2.1.0.post.zip/cassandra-driver-2.1.0.post/cassandra/__init__.py'>
>>>> Connection error: ('Unable to connect to any servers', {'10.0.16.144':
>>>> ConnectionShutdown('Connection <AsyncoreConnection(26384400)
>>>> 10.0.16.144:9042 (closed)> is already closed',)})
>>>>
>>>> If I try to connect using an earlier version of cqlsh, it connects
>>>> fine. Anyone seen this before or have any advice on how to dig into the
>>>> problem further? Thanks,
>>>>  -Tyler
>>>>
>>>>
>>>
>>
>

Re: cqlsh 2.1 to cassandra 2.0.7

Posted by groupie02 <gr...@gmail.com>.
did you try running cqlsh with --cqlversion?

On Thu, Sep 18, 2014 at 9:17 AM, Adam Holmberg <ad...@datastax.com>
wrote:

> There is now a ticket open to look into this and produce a more
> informative error message:
> https://datastax-oss.atlassian.net/browse/PYTHON-157
>
> Adam
>
>
> On Wed, Sep 17, 2014 at 4:47 PM, Adam Holmberg <adam.holmberg@datastax.com
> > wrote:
>
>> This is not really supported. Presently cqlsh hard-codes CQL and protocol
>> to versions only supported in 2.1:
>>
>> https://github.com/apache/cassandra/blob/cassandra-2.1.0/bin/cqlsh#L144-L147
>>
>> Your best bet is probably downloading a 2.0.x tarball and running out of
>> there.
>>
>> Adam Holmberg
>>
>> On Wed, Sep 17, 2014 at 4:33 PM, Tyler Tolley <th...@gmail.com>
>> wrote:
>>
>>> Just upgraded cassandra to 2.1 on my own box and when I try to connect
>>> to our server running 2.0.7, I get the following error.
>>>
>>> Connection error: ('Unable to connect to any servers', {'10.0.16.144':
>>> ConnectionShutdown('Connection <AsyncoreConnection(25708560)
>>> 10.0.16.144:9042 (closed)> is already closed',)})
>>>
>>> With debug on I get the following output.
>>>
>>> Using CQL driver: <module 'cassandra' from
>>> '/usr/share/cassandra/lib/cassandra-driver-internal-only-2.1.0.post.zip/cassandra-driver-2.1.0.post/cassandra/__init__.py'>
>>> Connection error: ('Unable to connect to any servers', {'10.0.16.144':
>>> ConnectionShutdown('Connection <AsyncoreConnection(26384400)
>>> 10.0.16.144:9042 (closed)> is already closed',)})
>>>
>>> If I try to connect using an earlier version of cqlsh, it connects fine.
>>> Anyone seen this before or have any advice on how to dig into the problem
>>> further? Thanks,
>>>  -Tyler
>>>
>>>
>>
>

Re: cqlsh 2.1 to cassandra 2.0.7

Posted by Adam Holmberg <ad...@datastax.com>.
There is now a ticket open to look into this and produce a more informative
error message:
https://datastax-oss.atlassian.net/browse/PYTHON-157

Adam

On Wed, Sep 17, 2014 at 4:47 PM, Adam Holmberg <ad...@datastax.com>
wrote:

> This is not really supported. Presently cqlsh hard-codes CQL and protocol
> to versions only supported in 2.1:
>
> https://github.com/apache/cassandra/blob/cassandra-2.1.0/bin/cqlsh#L144-L147
>
> Your best bet is probably downloading a 2.0.x tarball and running out of
> there.
>
> Adam Holmberg
>
> On Wed, Sep 17, 2014 at 4:33 PM, Tyler Tolley <th...@gmail.com>
> wrote:
>
>> Just upgraded cassandra to 2.1 on my own box and when I try to connect to
>> our server running 2.0.7, I get the following error.
>>
>> Connection error: ('Unable to connect to any servers', {'10.0.16.144':
>> ConnectionShutdown('Connection <AsyncoreConnection(25708560)
>> 10.0.16.144:9042 (closed)> is already closed',)})
>>
>> With debug on I get the following output.
>>
>> Using CQL driver: <module 'cassandra' from
>> '/usr/share/cassandra/lib/cassandra-driver-internal-only-2.1.0.post.zip/cassandra-driver-2.1.0.post/cassandra/__init__.py'>
>> Connection error: ('Unable to connect to any servers', {'10.0.16.144':
>> ConnectionShutdown('Connection <AsyncoreConnection(26384400)
>> 10.0.16.144:9042 (closed)> is already closed',)})
>>
>> If I try to connect using an earlier version of cqlsh, it connects fine.
>> Anyone seen this before or have any advice on how to dig into the problem
>> further? Thanks,
>>  -Tyler
>>
>>
>

Re: cqlsh 2.1 to cassandra 2.0.7

Posted by Adam Holmberg <ad...@datastax.com>.
This is not really supported. Presently cqlsh hard-codes CQL and protocol
to versions only supported in 2.1:
https://github.com/apache/cassandra/blob/cassandra-2.1.0/bin/cqlsh#L144-L147

Your best bet is probably downloading a 2.0.x tarball and running out of
there.

Adam Holmberg

On Wed, Sep 17, 2014 at 4:33 PM, Tyler Tolley <th...@gmail.com>
wrote:

> Just upgraded cassandra to 2.1 on my own box and when I try to connect to
> our server running 2.0.7, I get the following error.
>
> Connection error: ('Unable to connect to any servers', {'10.0.16.144':
> ConnectionShutdown('Connection <AsyncoreConnection(25708560)
> 10.0.16.144:9042 (closed)> is already closed',)})
>
> With debug on I get the following output.
>
> Using CQL driver: <module 'cassandra' from
> '/usr/share/cassandra/lib/cassandra-driver-internal-only-2.1.0.post.zip/cassandra-driver-2.1.0.post/cassandra/__init__.py'>
> Connection error: ('Unable to connect to any servers', {'10.0.16.144':
> ConnectionShutdown('Connection <AsyncoreConnection(26384400)
> 10.0.16.144:9042 (closed)> is already closed',)})
>
> If I try to connect using an earlier version of cqlsh, it connects fine.
> Anyone seen this before or have any advice on how to dig into the problem
> further? Thanks,
>  -Tyler
>
>