"Impact of Meltdown patches to DSE performance"

2018-01-25 Thread Robert Stupp
munity as well. — Robert Stupp @snazy signature.asc Description: Message signed with OpenPGP

Re: Problem with Jython UDF

2016-11-05 Thread Robert Stupp
;) There’s no way around the sandbox. Scala is “enabled” via a JSR-223 provider - i.e. the same restrictions apply. There’s no special handling for Scala. — Robert Stupp @snazy > On 5 Nov 2016, at 20:36, Maciej Bryński <mac...@brynski.pl> wrote: > > Robert, > Thank you for t

Re: Problem with Jython UDF

2016-11-05 Thread Robert Stupp
a mistake to allow “all” JSR-223 languages, so I’ve opened https://issues.apache.org/jira/browse/CASSANDRA-12883 <https://issues.apache.org/jira/browse/CASSANDRA-12883>. — Robert Stupp @snazy > On 3 Nov 2016, at 07:15, Maciej Bryński <mac...@brynski.pl> wrote: > > Hi, >

Re: High Heap Memory usage during nodetool repair in Cassandra 3.0.3

2016-06-20 Thread Robert Stupp
see the same behaviour in 3.7 with that setting, there’s not much you can do except upgrading to 3.7 as that change went into 3.6 and not into 3.0.x. — Robert Stupp @snazy > On 20 Jun 2016, at 18:13, Bhuvan Rawal <bhu1ra...@gmail.com> wrote: > > Hi All, > > We are ru

Re: Returning an UDT from a user defined function (UDF)

2016-04-08 Thread Robert Stupp
Hi Henry, there’s https://issues.apache.org/jira/browse/CASSANDRA-10818 <https://issues.apache.org/jira/browse/CASSANDRA-10818> to allow creation of UDTs and tuples. Robert — Robert Stupp @snazy > On Apr 8, 2016, at 07:12, Henry M <henrymanm...@gmail.com> wrote: > > Wh

Re: Cassandra 3.1 - Aggregation query failure

2015-12-23 Thread Robert Stupp
be taken > in reliance on it, is prohibited and may be unlawful. When addressed to our > clients any opinions or advice contained in this Email are subject to the > terms and conditions expressed in any applicable governing The Home Depot > terms of business or client engagement letter. The Home Depot disclaims all > responsibility and liability for the accuracy and content of this attachment > and for any damages or losses arising from any inaccuracies, errors, viruses, > e.g., worms, trojan horses, etc., or other items of a destructive nature, > which may be contained in this attachment and shall not be liable for direct, > indirect, consequential or special damages in connection with this e-mail > message or its attachment. — Robert Stupp @snazy signature.asc Description: Message signed with OpenPGP using GPGMail

Re: Cassandra: UDF

2015-08-05 Thread Robert Stupp
records. Thanks Regards, Suresh Mahawar TechnoCube Find Me on Linkedin https://www.linkedin.com/pub/suresh-mahawar/2a/b9/a80 — Robert Stupp @snazy

Re: Cassandra install on JRE vs JDK

2015-02-18 Thread Robert Stupp
? Is there any performance impact ? Please advice. — Robert Stupp @snazy

Re: Could ring cache really improve performance in Cassandra?

2014-12-08 Thread Robert Stupp
cassandra-stress is a great tool to check whether the sizing of your cluster in combination of your data model will fit your production needs. I.e. without the application :) Removing the application removes any possible bugs from the load test. Sure, it’s a necessary step to do it with your

Re: Could ring cache really improve performance in Cassandra?

2014-12-08 Thread Robert Stupp
to the correct nodes. Although you can go into the C++ driver code and look how it works, improve it etc. :) I don’t know anything about the C++ driver - but feel free to post to the driver mailing list and/or the #datastax-drivers IRC channel. 2014-12-08 16:42 GMT+08:00 Robert Stupp sn

Re: IF NOT EXISTS on UPDATE statements?

2014-11-18 Thread Robert Stupp
There is no way to mimic IF NOT EXISTS on UPDATE and it's not a bug. INSERT and UPDATE are not totally orthogonal in CQL and you should use INSERT for actual insertion and UPDATE for updates (granted, the database will not reject our query if you break this rule but it's nonetheless the

Re: IF NOT EXISTS on UPDATE statements?

2014-11-18 Thread Robert Stupp
For (2), we would love to see: UPSERT value=new_value where (not exists || value=read_value) That would be something like UPDATE … IF column=value OR NOT EXISTS“. Took at the C* source and that feels like a LHF (for 3.0) so I opened https://issues.apache.org/jira/browse/CASSANDRA-8335 for

Re: Latest 2.1 and Datastax driver questions...

2014-08-20 Thread Robert Stupp
Am 20.08.2014 um 22:44 schrieb Tony Anecito adanec...@yahoo.com: When will Cassandra 2.1 be released as GA? When it's finished :) RC6 has been released yesterday - cross your fingers - this might be 2.1.0 Will there be a datastax CQL driver available then? Both the Java and Python drivers

Re: Latest 2.1 and Datastax driver questions...

2014-08-20 Thread Robert Stupp
50% is the official statement. It depends on the workload and machine capabilities. But AFAIK 50% is a rough estimate. CQL over the native protocol is generally faster than Thrift. Native protocol also allows the client (e.g. the DataStax Drivers) to get informed about cluster changes (node

Re: Latest 2.1 and Datastax driver questions...

2014-08-20 Thread Robert Stupp
Ooops - 1.2.5 to 2.0.9? You should have first upgraded to (at least) 1.2.9 before upgrade to 2.0.x. See http://www.datastax.com/documentation/upgrade/doc/upgrade/cassandra/upgradeC_c.html Am 20.08.2014 um 23:22 schrieb Tony Anecito adanec...@yahoo.com: I just upgraded to 2.0.9 from 1.2.5 and

Re: Compaction before Decommission and Bootstrapping

2014-08-17 Thread Robert Stupp
In a few words: Bootstrap one node at once Wait for bootstrap to complete Next node More details: datastax.com/docs (C* 2.0) Before decommissioning: nodetool cleanup Don't forget to do repairs (one node at a time) - this should be a regular admin task -- Sent from my iPhone Am 17.08.2014

Re: Caffinitas Mapper - Java object mapper for Apache Cassandra

2014-07-25 Thread Robert Stupp
: How is it different than kundera? On 20/07/2014 9:03 pm, Robert Stupp sn...@snazy.de wrote: Hi all, I've just released the first beta version of Caffinitas Mapper. Caffinitas Mapper is an advanced Java object mapper for Apache Cassandra NoSQL database. It offers an annotation based

Re: Why is the cassandra documentation such poor quality?

2014-07-23 Thread Robert Stupp
Just a note: If you have suggestions how to improve documentation on the datastax website, write them an email to d...@datastax.com. They appreciate proposals :) Am 23.07.2014 um 09:10 schrieb Mark Reddy mark.re...@boxever.com: Hi Kevin, The difference here is that the Apache Cassandra site

Re: EXTERNAL: Re: Running Cassandra Server in an OSGi container

2014-07-23 Thread Robert Stupp
and Achilles have both embedded C* (not in an OSGi container though, and Carbon is with an older C* version). We are wanting an “unzip and run” system and do not expect the user to have to do much, if any, C* configuration. From: Robert Stupp [mailto:sn...@snazy.de] Sent: Tuesday, July 22, 2014

Re: Which way to Cassandraville?

2014-07-22 Thread Robert Stupp
You can also try http://caffinitas.org - Open Source Java object mapper for C* using Datastax's Java Driver licensed using APL2. It is intended to be a bit close to what JPA does. Although, it cannot support JPA features 1:1 since there are fundamental differences between RDBMS and NoSQL/C*.

Re: Which way to Cassandraville?

2014-07-22 Thread Robert Stupp
Let me respond with another question: How important is SQL for a JPA developer? Mappers eliminate the boring and error-prone stuff like execute SELECT, read fields, call setters etc. They can automatically perform conversions, apply optimizations, etc etc etc. Mappers do not remove the need of

Re: Running Cassandra Server in an OSGi container

2014-07-22 Thread Robert Stupp
What's your intention to do this? There are unit test integrations using C* daemon. A related bug that prevented proper shutdown has been closed for C* 2.1-rc1: https://issues.apache.org/jira/browse/CASSANDRA-5635 It's perfectly fine to embed C* for unit tests. But I'd definitely not recommend

Re: Which way to Cassandraville?

2014-07-22 Thread Robert Stupp
how the CQL3 maps to underlying data storage. On Tue, Jul 22, 2014 at 10:33 PM, jcllings jclli...@gmail.com wrote: On 07/22/2014 01:11 PM, Robert Stupp wrote: Let me respond with another question: How important is SQL for a JPA developer? ... IMO mappers help and make life

Re: Which way to Cassandraville?

2014-07-22 Thread Robert Stupp
True - Hibernate, Eclipselink and others add plenty of synchronization overhead owed the fact that an entity instance does not need to be explicitly persisted to get persisted (just change the loaded instance and flush the session). That's very expensive (CPU and heap). Even though transaction

Caffinitas Mapper - Java object mapper for Apache Cassandra

2014-07-20 Thread Robert Stupp
Hi all, I've just released the first beta version of Caffinitas Mapper. Caffinitas Mapper is an advanced Java object mapper for Apache Cassandra NoSQL database. It offers an annotation based declaration model with a wide range of built-in features like JPA style inheritance with

Re: DataType protocol ID error for TIMESTAMPs when upgrading from 1.2.11 to 2.0.9

2014-07-19 Thread Robert Stupp
Can you submit a ticket in C* JIRA at issues.apache.org? -- Sent from my iPhone Am 19.07.2014 um 16:45 schrieb Karl Rieb karl.r...@gmail.com: Ben! I think I have an idea of exactly where the bug is! I did some more searching and discovered the difference that causes some tables to

Re: Cassandra use cases/Strengths/Weakness

2014-07-09 Thread Robert Stupp
I agree, that traditional RDBMS have good and established admin/mgmt tools/practices. But C* strength is distributed, failure tolerant operation. And this is exactly where nearly all traditional RDBMS just fail. I've seen both Oracle and IBM clusters/HA solutions (and a lot of other software)

Re: Can I call getBytes on a text column to get the raw (already encoded UTF8)

2014-06-24 Thread Robert Stupp
You can use getBytesUnsafe on the UTF8 column -- Sent from my iPhone Am 24.06.2014 um 09:13 schrieb Olivier Michallat olivier.michal...@datastax.com: Assuming we're talking about the DataStax Java driver: getBytes will throw an exception, because it validates that the column is of

Re: Using Cassandra as cache

2014-06-20 Thread Robert Stupp
Am 20.06.2014 um 23:48 schrieb Pavel Kogan pavel.ko...@cortica.com: 1) When new keyspace with its columnfamilies is being just created (every round hour), sometimes other modules failed to read/write data, and we lose request. Can it be that creation of keyspace and columnfamilies is async

Re: Data model for streaming a large table in real time.

2014-06-08 Thread Robert Stupp
You do not Need RAID0 for data. Let C* do striping over data disks. And maybe CL ANY/ONE might be sufficient for your writes. Am 08.06.2014 um 06:15 schrieb Kevin Burton bur...@spinn3r.com: we're using containers for other reasons, not just cassandra. Tightly constraining resources