-
0 votesanswersviews
如何使用phantom-dsl实现Cassandra计数器列?
这是这个问题的扩展: How to increment Cassandra Counter Column with phantom-dsl? 这个问题也被问到here . 在Thiagos example这两个表; 'songs'&'songs_by_artist'都具有相同的行但具有不同的分区(主键/群集列) CREATE TABLE test.songs ( song_id timeu... -
0 votesanswersviews
在CAS操作上获取WriteTimoutException
我试图使用phantom插入相当少量的数据异步到 cassandra 3:9 但是这个查询保持失败: INSERT INTO test_db.test_tbl(name, last, ts) VALUES('aaa', 'bbb', 1502109409) IF NOT EXISTS USING TTL 0; 我收到以下异常: com.datastax.driver.core.exception... -
2 votesanswersviews
无法通过Phantom连接到Cassandra(NoHostAvailableException)
尝试通过Phantom从Scala应用程序插入到Cassandra时,我得到以下错误代码 . Cassandra版本与dsc-cassandra-3.0.1捆绑在一起 [error](run-main-0)com.datastax.driver.core.exceptions.NoHostAvailableException:尝试查询的所有主机都失败了(尝试过:localhost / 127.0...