cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Thompson (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-8222) Unable to connect to "any" server with cqlsh
Date Thu, 30 Oct 2014 14:54:34 GMT

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

Philip Thompson updated CASSANDRA-8222:
---------------------------------------
    Labels: cqlsh  (was: )

> 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)

Mime
View raw message