Multi DC setup question

2016-06-27 Thread Charulata Sharma (charshar)
Hi All, We are setting up another Data Center and have the following question: 6 nodes in each DC Cassandra cluster. All key spaces have an RF of 3 Our scenario is Apps node connect to Cassandra cluster using LOCAL_QUORUM consistency. We want to ensure that If 5 nodes out of the 6 are

Adding column to materialized view

2016-06-27 Thread Jason J. W. Williams
Hey Guys, Running Cassandra 3.0.5. Needed to add a column to a materialized view, but ALTER MATERIALIZED VIEW doesn't seem to allow that. So we ended up dropping the view and recreating it. Is that expected or did I miss something in the docs? -J

回复:UDA can't use int or text as state_type

2016-06-27 Thread lowping
problem solved !!! INITCOND {} should be INITCOND 0 原始邮件 发件人:lowpinglowp...@163.com 收件人:useru...@cassandra.apache.org 发送时间:2016年6月27日(周一) 16:03 主题:UDA can't use int or text as state_type Hi, all I got a problem today when I create a UDA like this. hope you guys help me solve this

UDA can't use int or text as state_type

2016-06-27 Thread lowping
Hi, all I got a problem today when I create a UDA like this. hope you guys help me solve this CREATE OR REPLACE FUNCTION sum_fun(state int, type text) // if state type is SET or MAP , this is work CALLED ON NULL INPUT RETURNS int LANGUAGE java AS 'return Integer.parseInt(type)+state;' ;

Read operation can read uncommitted data?

2016-06-27 Thread Yuji Ito
Hi, I'm testing Cassandra CAS operation. Can a read operation read uncommitted data which is being updated by CAS in the following case? I use Cassandra 2.2.6. There are 3 nodes (A, B and C) in a cluster. Replication factor of keyspace is 3. CAS operation on node A starts to update row X

Re: 1) select collection_type whith keywork 'in' . 2)how to using UDFin update?

2016-06-27 Thread lowping
HI, Brooke Jensen,Thanks for reply. sorry about the terrible description for error last time. this is my table schema create table test( id text, scope text, name text, value SETtext, PRIMARY KEY (id,scope) )WITH CLUSTERING ORDER BY (scope ASC); I execute this cql and get a