RE: A question to updatesstables

2016-08-18 Thread Lu, Boying
Thanks a lot. I’m a little bit of confusing. If the ‘nodetool updatesstable’ doesn’t work without Cassandra server running, and Cassandra server failed to start due to the incompatible SSTable format, how to resolve this dilemma? From: Carlos Alonso [mailto:i...@mrcalonso.com] Sent:

Re: How to create a TupleType/TupleValue in a UDF

2016-08-18 Thread Tyler Hobbs
The logback-related error is due to https://issues.apache.org/jira/browse/CASSANDRA-11033, which is fixed in 3.0.4 and 3.4. I'm not sure about the CodecNotFoundException, can you reproduce that one reliably? On Thu, Aug 18, 2016 at 10:52 AM, Drew Kutcharian wrote: > Hi All, >

Re: How to create a TupleType/TupleValue in a UDF

2016-08-18 Thread Drew Kutcharian
I’m running 3.0.8, so it probably wasn’t fixed? ;) [cqlsh 5.0.1 | Cassandra 3.0.8 | CQL spec 3.4.0 | Native protocol v4] The CodecNotFoundException is very random, when I get it, if I re-run the same exact query then it works! I’ll see if I can reproduce it more consistently. BTW, is there a

lack of space for replicas

2016-08-18 Thread jean paul
Hi, The distributed replicas take space. Is there a scenario when a new replicas cannot be stored on a node due to lack of space? If we choose a replication factor =3, and we can find a space for the third replicas, how cassandra treats this case. Please, where can i find the algorithm ? Thank

Re: lack of space for replicas

2016-08-18 Thread Carlos Alonso
It will then possibly fail with a no disk space error. The replicas placement algorithm is determined via de Replication Strategy given when you created your keyspace (SimpleStrategy or NetworkTopologyStrategy).

Re: A question to updatesstables

2016-08-18 Thread Ryan Svihla
It hasn't ever prevented me from starting unless there was something else going on. Can you share the log message that's preventing you from starting. On Thu, Aug 18, 2016, 5:44 AM Carlos Alonso wrote: > Replies inline > > Carlos Alonso | Software Engineer | @calonso

A question to updatesstables

2016-08-18 Thread Lu, Boying
Hi, All, We use Cassandra in our product. I our early release we use Cassandra 1.2.10 whose SSTable is 'ic' format. We upgrade Cassandra to 2.0.10 in our product release. But the Cassandra server failed to start due to the incompatible SSTable format and the log message told us to use 'nodetool

Re: A question to updatesstables

2016-08-18 Thread Carlos Alonso
Replies inline Carlos Alonso | Software Engineer | @calonso On 18 August 2016 at 11:56, Lu, Boying wrote: > Hi, All, > > > > We use Cassandra in our product. I our early release we use Cassandra > 1.2.10 whose SSTable is ‘ic’ format. > > We

How to create a TupleType/TupleValue in a UDF

2016-08-18 Thread Drew Kutcharian
Hi All, I have a UDF/UDA that returns a map of date -> TupleValue. CREATE OR REPLACE FUNCTION min_max_by_timestamps_udf(state map>>, flake blob) RETURNS NULL ON NULL INPUT RETURNS map>> LANGUAGE java CREATE OR