cassandra 的 cqlsh 客户端进不了,狂看各种教程,终于在stackoverflow 找到灵感。
开始报错:Connection error: Could not connect to 192.168.1.254:9160
原因是 IP 不对,IP 应该是 rpc_address ,这是在cassandra.yaml 里配置的。
我这里的 rpc_address:192.168.1.254
所以,在终端输入: cqlsh 192.168.1.254 9160
就可以登进去了。
来源:http://stackoverflow.com/questions/29121904/cassandra-cqlsh-connection-refused
灵感来源:You need to edit cassandra.yaml on the node you are trying to connect to and set the node ip address for rpc_address and listen_address and restart Cassandra.
rpc_address is the address on which Cassandra listens to the client calls.
listen_address is the address on which Cassandra listens to the other Cassandra nodes.
分享到:
相关推荐
apache-cassandra-3.11.13 官网原版
apache-cassandra-0.6.1-bin.tar.gzapache-cassandra-0.6.1-bin.tar.gzapache-cassandra-0.6.1-bin.tar.gzapache-cassandra-0.6.1-bin.tar.gzapache-cassandra-0.6.1-bin.tar.gzapache-cassandra-0.6.1-bin.tar.gz
Cassandra(apache-cassandra-3.11.11-bin.tar.gz)是一套开源分布式NoSQL数据库系统。它最初由Facebook开发,用于储存收件箱等简单格式数据,集GoogleBigTable的数据模型与Amazon Dynamo的完全分布式的架构于一身...
cassandra-thrift cassandra-thrift cassandra-thrift cassandra-thrift cassandra-thrift cassandra-thrift
Cassandra(apache-cassandra-3.0.25-bin.tar.gz)是一套开源分布式NoSQL数据库系统。它最初由Facebook开发,用于储存收件箱等简单格式数据,集GoogleBigTable的数据模型与Amazon Dynamo的完全分布式的架构于一身...
cassandra-jdbc-1.2.5.jar
apache-cassandra-3.7-bin.tar.gz
apache-cassandra-1.2.5
cassandra-driver-core,A driver for Apache Cassandra 1.2+ that works exclusively with the Cassandra Query Language version 3 (CQL3) and Cassandra's binary protocol.
cassandra-trunk eclispe cassandra-trunk cassandra-trunk
apache-cassandra-3.11.14-bin.tar.gz
官方离线安装包,亲测可用
cassandra 3.5
Cassandra是一套开源分布式NoSQL数据库系统。它最初由Facebook开发,用于储存收件箱等简单格式数据,集GoogleBigTable的数据模型与Amazon Dynamo的完全分布式的架构于一身Facebook于2008将 Cassandra 开源,此后,...
elasticsearch-cassandra-河Elasticsearch River for Cassandra 2.* 版本,支持 CQL,基于来自 Cassandra 集群的数据拉取方法。 从源克隆和修改的项目。 基于 Datastax Java 驱动CQL 支持支持 Cron 调度##Setup 构建...
Cassandra(apache-cassandra-4.0.1-bin.tar.gz)是一套开源分布式NoSQL数据库系统。它最初由Facebook开发,用于储存收件箱等简单格式数据,集GoogleBigTable的数据模型与Amazon Dynamo的完全分布式的架构于一身...
Cassandra是一套开源分布式NoSQL数据库系统。它最初由Facebook开发,用于储存收件箱等简单格式数据。
jar包,亲测可用
apache-cassandra-2.0.1-bin.tar
cqlsh --file cassandra-example.cql 编辑 cassandra-example.conf,为您的环境设置 master 和 cassandra 连接信息。 要构建一个包含所有依赖项的程序集 jar,又名 uber jar: sbt 组装 跑步: /your/path/to/...