-
0 votesanswersviews
在3节点Cassandra集群中将复制因子设置为2;但是数据在插入时仍会被复制到所有3个节点
我有一个3节点集群,复制因子为2,但数据在所有3个节点上都被复制 . 这是我创建键空间的方式: 创建KEYSPACE,如果没有复制演示复制= {'class':'SimpleStrategy','replication_factor':2}; 这里缺少什么? -
0 votesanswersviews
Cassandra一致性水平问题
我们有3个Node Cassandra集群,复制数为3 . 一段时间后,Cassandra(1节点)停机了2天 . Now We are Unable to Read data from Cassandra cluster 有一段时间我们不经常 引起: com.datastax.driver.core.exceptions.ReadFailureException: Cassandra failu... -
2 votesanswersviews
Datastax驱动程序限制选项
我使用datastax java驱动程序构造一个select查询 . 我使用限制选项设置限制 . 但我看到另一个属性也可以设置 setFetchSize(int size) DEFAULT_FETCH_SIZE- 5000 according to the docs. http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core... -
2 votesanswersviews
在高IOPS运行5分钟后,Cassandra抛出NoHostAvailableException
我正在使用datastax cassandra 2.1驱动程序并以~8000 IOPS的速率执行读/写操作 . 我已经使用池选项来配置我的会话,并使用单独的会话进行读取和写入,每个会话都连接到群集中的另一个节点作为联系点 . 这样可以正常工作5分钟,但之后我得到了很多例外,例如: 失败:com.datastax.driver.core.exceptions.NoHostAvailableExce... -
1 votesanswersviews
运行远程cqlsh以在Cassandra Cluster上执行命令
所以我的Ubuntu机器上有一个包含6个节点的Cassandra集群,现在我有另一台运行Windows Server 2008的机器 . 我在这台新的Windows机器上安装了DataStax Apache Cassandra,我希望能够运行所有的CQL命令Windows机器到Ubuntu机器上 . 所以就像远程命令执行一样 . 我尝试使用cqlsh在cmd中打开cqlsh,其中包含我的一个节点和... -
0 votesanswersviews
在正常运行时启用Cassandra PasswordAuthenticator
我有一个Cassandra集群(Datastax开源),目前没有配置身份验证(即,它使用AllowAllAuthenticator),我想使用PasswordAuthenticator . official document说我应该遵循以下步骤: 在cassandra.yaml中启用PasswordAuthenticator, 重启Cassandra节点,该节点将创建system_aut... -
1 votesanswersviews
Cassandra列族通过CLI和DataStax以不同方式显示
我试图理解为什么我以两种方式看到不同的数据来显示Cassandra(1.2.x)列族列 . 在第一个中,我使用 cassandra-cli 来 list 列族中的行 . [cassandra-cli]> list Users columns 1; Using default limit of 100 ------------------- RowKey: [rowkey1] => (n... -
10 votesanswersviews
如何为远程连接配置cassandra
我正在尝试配置Cassandra Datastax Community Edition在Windows上进行远程连接, Cassandra Server安装在Windows 7 PC上, With the local CQLSH it connects perfectly to the local server. 但当我尝试连接 with CQLSH from another PC in the ...