-
0 votesanswersviews
无法使用Astyanax连接到Cassandra
我在docker的mac上运行最新版本的cassandra . 我在我的mac上安装了cassandra dev中心,我可以使用devcenter连接到cassandra,我可以轻松地查询我的表 . http://i.imgur.com/48MztBM.png http://i.imgur.com/jPKblly.png 我可以看到cassandra所有必需的端口也是开放的 . (如下所示) C... -
0 votesanswersviews
如果删除复合类型列中的值,则无法连接新的cassandra节点
我在新节点system.log上获得一个 RuntimeException 来引导一个新的DC . Is it a bug of Cassandra 2.0.9? Log System.out - Buffer.limit中由IllegalArgumentException引起的RuntimeException: INFO [NonPeriodicTasks:1] 2014-08-26 15:... -
1 votesanswersviews
在Cassandra Column系列中存储二进制blob数据
我需要在我的所有列中的Cassandra列族中存储二进制字节数据 . 下面是我将获得二进制字节数据的代码 . 我的rowKey将是String,但我的所有列都必须存储二进制blob数据 . GenericDatumWriter<GenericRecord> writer = new GenericDatumWriter<GenericRecord>(schema); By... -
1 votesanswersviews
使用Astyanax变异批处理将Map插入到Cassandra CQL3列族中
我有一个Cassandra CQL3列系列,具有以下结构 CREATE TABLE mytable( A text, B text, C text, mymap map<text,text>, D text, PRIMARY KEY (A,B,C) ); 我正在尝试使用Astyanax将一堆数据插入其中 . 我正在使用的Cassandra版本是1.2,所以我不... -
0 votesanswersviews
Datastax Java驱动程序自动发现其连接池中特定数据中心的所有节点?
我最近开始在 Production environment 中使用 Cassandra . 我们有 24 node cluster 与 replication factor of 4 . 含义 2 copies 将在 each datacenter 中出现 . 这意味着我们有一个带有 24 nodes 的交叉colo集群,这意味着 12 nodes in SLC colo 和 12 nodes... -
2 votesanswersviews
Cassandra以OutOfMemory(OOM)错误终止
我们在AWS上有一个3节点的cassandra集群 . 这些节点运行cassandra 1.2.2并具有8GB内存 . 我们没有更改任何默认堆或GC设置 . 因此每个节点分配1.8GB的堆空间 . 行很宽;每行存储大约260,000列 . 我们正在使用Astyanax阅读数据 . 如果我们的应用程序试图同时从10行或更多行读取80,000列,则某些节点会耗尽堆空间并以OOM错误终止 . 这是错误消...