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 a

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 CREA

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;' ; C