|
|
1
30
这个怎么样: 在卡桑德拉做这些改变。yaml配置文件:
参考: https://gist.github.com/andykuszyk/7644f334586e8ce29eaf8b93ec6418c4 |
|
|
2
21
Cassandra 2.0的远程访问是通过其节省端口进行的。在Cassandra2.0.x中,默认的cqlsh侦听端口是在Cassandra中定义的9160。通过rpcport参数进行yaml。默认情况下,Cassandra 2.0.x和更早版本通过在Cassandra中将start_rpc配置为true来启用Thrift。yaml文件。 在Cassandra 2.1中,cqlsh实用程序使用本机协议。在使用Datastax python驱动程序的Cassandra 2.1中,默认的cqlsh侦听端口是9042。 cassandra节点应该绑定到服务器网卡的IP地址-它不应该是127.0.0.1或localhost,它是环回接口的IP,绑定到该地址将阻止直接远程访问。要配置绑定地址,请使用cassandra.yaml中的rpc_address参数。将其设置为0.0.0.0将侦听所有网络接口。 您检查过远程机器是否可以连接到Cassandra节点吗?机器之间有防火墙吗?您可以尝试以下步骤进行测试: 1) 确保可以从您所在的服务器连接到该IP: $ssh(美元)user@xxx.xxx.xx.xx 2) 检查节点的状态,并确认其显示相同的IP: $nodetool状态 3) 运行命令以连接到IP(如果未使用默认端口,则仅指定端口): $cqlsh xxx.xxx.xx |
|
|
3
10
Kat的替代解决方案。使用Ubuntu 16.04
这个
|
|
|
Yozzer · CQL Cassandra Where子句 8 年前 |
|
|
BigBug · 使用CQLSH查看Cassandra分区 8 年前 |
|
|
Oak · 我无法打开Cassandra,因为磁盘空间不足,无法写入 9 年前 |
|
|
M. Afathi · 文件被另一个进程Cassandra使用 9 年前 |
|
|
Obama · 如何为远程连接配置cassandra 10 年前 |
|
|
tbsalling · 为什么cqlsh右对齐字符串? 11 年前 |
|
|
kevad · Cassandra CQL-具有多个聚类列的聚类顺序 12 年前 |