You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Shuler (JIRA)" <ji...@apache.org> on 2014/11/07 02:11:34 UTC

[jira] [Resolved] (CASSANDRA-8222) Unable to connect to "any" server with cqlsh

     [ https://issues.apache.org/jira/browse/CASSANDRA-8222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Shuler resolved CASSANDRA-8222.
---------------------------------------
    Resolution: Not a Problem

> Unable to connect to "any" server with cqlsh
> --------------------------------------------
>
>                 Key: CASSANDRA-8222
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8222
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: java -version
> java version "1.7.0_25"
> Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
> Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
> python --version
> Python 2.7.8
>            Reporter: RADOMIRS CIRSKIS
>              Labels: cqlsh
>
> I was going through the http://wiki.apache.org/cassandra/GettingStarted
> 1. Installed cassandra
> 2.  run cassandra: bin/cassandra -f
> 3. in another terminal attempt to run cqlsh: cqlsh
> 4. also I have tried explicitly: cqlsh 127.0.0.1 9042
> 5. it produces a message:
> {noformat}
> Connection error: ('Unable to connect to any servers', {'127.0.0.1': AttributeError("'module' object has no attribute 'loads'",)})
> {noformat}
> Cassandra is running and listening on the port 9042:
> {noformat}
> ...
> INFO  03:36:08 Using Netty Version: [netty-buffer=netty-buffer-4.0.23.Final.208198c, netty-codec=netty-codec-4.0.23.Final.208198c, netty-codec-http=netty-codec-http-4.0.23.Final.208198c, netty-codec-socks=netty-codec-socks-4.0.23.Final.208198c, netty-common=netty-common-4.0.23.Final.208198c, netty-handler=netty-handler-4.0.23.Final.208198c, netty-transport=netty-transport-4.0.23.Final.208198c, netty-transport-rxtx=netty-transport-rxtx-4.0.23.Final.208198c, netty-transport-sctp=netty-transport-sctp-4.0.23.Final.208198c, netty-transport-udt=netty-transport-udt-4.0.23.Final.208198c]
> INFO  03:36:08 Starting listening for CQL clients on localhost/127.0.0.1:9042...
> INFO  03:36:09 Binding thrift service to localhost/127.0.0.1:9160
> INFO  03:36:09 Listening for thrift clients...
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)