Re: embedding cassandra in junit ..

2014-06-11 Thread James Carman
Take a look at cassandra-unit. https://github.com/savoirtech/hecate/blob/master/hecate-cql3/src/test/java/com/savoirtech/hecate/cql3/test/CassandraTestCase.java On Wed, Jun 11, 2014 at 11:02 PM, Kevin Burton bur...@spinn3r.com wrote: Maybe this is an anti-pattern.. please feel free to flame

Re: embedding cassandra in junit ..

2014-06-12 Thread James Carman
These are the maven coordinates: http://search.maven.org/#artifactdetails%7Corg.cassandraunit%7Ccassandra-unit%7C2.0.2.1%7Cjar On Thu, Jun 12, 2014 at 1:40 PM, Kevin Burton bur...@spinn3r.com wrote: Ah.. nice! I assume you mean this? https://github.com/jsevellec/cassandra-unit This

Re: Unsubscribe

2014-11-04 Thread James Carman
You should have received an email when you signed up which gives you instructions on how to unsubscribe. Otherwise, send an email to user-h...@cassandra.apache.org On Mon, Nov 3, 2014 at 10:30 PM, Malay Nilabh malay.nil...@lntinfotech.com wrote: Hi It was great to be part of this group.

Query Consistency Issues...

2015-12-15 Thread James Carman
We are encountering a situation in our environment (a 6-node Cassandra ring) where we are trying to insert a row and then immediately update it, using LOCAL_QUORUM consistency (replication factor = 3). I have replicated the issue using the following code:

Re: Query Consistency Issues...

2015-12-15 Thread James Carman
On Tue, Dec 15, 2015 at 2:57 PM Paulo Motta wrote: > What cassandra and driver versions are you running? > > We are using 2.1.7.1 > It may be that the second update is getting the same timestamp as the > first, or even a lower timestamp if it's being processed by

ANNOUNCE: Hecate 3.0.0.Beta1 Available...

2016-06-03 Thread James Carman
we welcome the feedback. Thanks, James Carman

Re: How to include all dependencies on cassandra driver jar?

2016-06-03 Thread James Carman
You could shade it into another jar. On Fri, Jun 3, 2016 at 9:08 PM Carolina Simoes Gomes < carolina.go...@huawei.com> wrote: > Hello, > > > > I am using Cassandra 3.2.1 and the 3.0.0 driver. I need to build the > driver but with all its dependencies included in the jar (uber jar), using >

Library/utility announcements?

2016-06-01 Thread James Carman
Some user lists allow it. Does the Cassandra community mind folks announcing their super cool Cassandra libraries on this list? Is there a page for us to list them?

Re: DataStax OpsCenter with Apache Cassandra

2016-04-11 Thread James Carman
Since when did this become a DataStax support email list? If folks have questions about DataStax products, shouldn't they be contacting the company directly? On Sun, Apr 10, 2016 at 1:13 PM Jeff Jirsa wrote: > It is possible to use OpsCenter for open source /

Re: Large primary keys

2016-04-11 Thread James Carman
Why does the text need to be the key? On Mon, Apr 11, 2016 at 6:04 PM Robert Wille wrote: > I have a need to be able to use the text of a document as the primary key > in a table. These texts are usually less than 1K, but can sometimes be 10’s > of K’s in size. Would it be

Re: Large primary keys

2016-04-11 Thread James Carman
S3 maybe? On Mon, Apr 11, 2016 at 7:05 PM Robert Wille wrote: > I do realize its kind of a weird use case, but it is legitimate. I have a > collection of documents that I need to index, and I want to perform entity > extraction on them and give the extracted entities special

Re: Adding Options to Create Statements...

2016-04-01 Thread James Carman
list that may be more helpful: > https://groups.google.com/a/lists.datastax.com/forum/#!forum/java-driver-user > > On Thu, Mar 31, 2016 at 4:40 PM, James Carman <ja...@carmanconsulting.com> > wrote: > >> No thoughts? Would an upgrade of the driver "fix" th

Re: Adding Options to Create Statements...

2016-04-01 Thread James Carman
But, if there were a Java driver provided by the Apache Cassandra project itself, then it'd be an easy choice. On Fri, Apr 1, 2016 at 2:16 PM Robert Coli <rc...@eventbrite.com> wrote: > On Fri, Apr 1, 2016 at 10:43 AM, James Carman <ja...@carmanconsulting.com> > wrote: > &

Adding Options to Create Statements...

2016-03-30 Thread James Carman
I am trying to perform the following operation: public Create createCreate() { Create create = SchemaBuilder.createTable("foo").addPartitionColumn("bar", varchar()).addClusteringColumn("baz", varchar); if(descending) { create.withOptions().clusteringOrder("baz", Direction.DESC); return

Re: Adding Options to Create Statements...

2016-03-31 Thread James Carman
No thoughts? Would an upgrade of the driver "fix" this? On Wed, Mar 30, 2016 at 10:42 AM James Carman <ja...@carmanconsulting.com> wrote: > I am trying to perform the following operation: > > public Create createCreate() { > Create create = > SchemaBuilder.create

Re: Cassandra: The Definitive Guide, 2nd Edition

2016-08-02 Thread James Carman
Congrats, Jeff! I'll definitely check it out. On Tue, Aug 2, 2016 at 12:36 PM Jeff Carpenter < jeff.carpen...@choicehotels.com> wrote: > Hello > > I’m excited to announce that the 2nd edition of Cassandra: The Definitive > Guide is now available from O’Reilly Media. >

Re: unsubscibe

2016-08-13 Thread James Carman
now. > > Im not sure the patronizing responses with Google links help at all. > > > _ > From: James Carman <ja...@carmanconsulting.com> > Sent: Saturday, August 13, 2016 8:24 PM > Subject: Re: unsubscibe > To: <user@cassandra.apache.org>

Re: unsubscibe

2016-08-13 Thread James Carman
Was the Google stuff really necessary? Couldn't you have just nicely told them how to unsubscribe? On Sat, Aug 13, 2016 at 7:52 PM Alain RODRIGUEZ wrote: > Hi, > > You did not unsubscribe yet. > > 'unsubscribe cassandra' in google search: > > Result 1:

Re: unsubscibe

2016-08-13 Thread James Carman
hich does little more than send > an email to the list. The latter is the reason I am suggesting that this be > worked in as an additional way to unsubscribe from the list. > > > > > > On Sat, Aug 13, 2016 at 8:39 PM -0400, "James Carman" < > ja...@carmancon

Re: unsubscibe

2016-08-15 Thread James Carman
On Mon, Aug 15, 2016 at 10:28 AM Eric Evans wrote: > > I'm always surprised when a Google search for 'unsubscribe cassandra' > doesn't return mailing list results from people nicely telling someone > how to unsubscribe. > > Agreed. It doesn't make for a very welcoming

Re: unsubscibe

2016-08-16 Thread James Carman
re, should work better and spam less people. > > > Those are just facts. It's concise, I agree, but be sure of my good > intentions there. I do not spend time being bad at people, this is a lost > of time. I try to help here, as I did for the last 4+ years in this mailing > list now.

Re: How can I scale my read rate?

2017-03-19 Thread James Carman
Have you tried using PreparedStatements? On Sat, Mar 18, 2017 at 9:47 PM S G wrote: > ok, I gave the executeAsync() a try. > Good part is that it was really easy to write the code for that. > Bad part is that it did not had a huge effect on my throughput - I gained >

Re: scylladb

2017-03-12 Thread James Carman
Does all of this Scylla talk really even belong on the Cassandra user mailing list in the first place? On Sun, Mar 12, 2017 at 4:07 PM Jeff Jirsa wrote: On 2017-03-11 22:33 (-0700), Dor Laor wrote: > On Sat, Mar 11, 2017 at 10:02 PM, Jeff Jirsa

Re: scylladb

2017-03-12 Thread James Carman
Cassandra) isn't cool, IMHO. On Sun, Mar 12, 2017 at 5:04 PM Kant Kodali <k...@peernova.com> wrote: yes. On Sun, Mar 12, 2017 at 2:01 PM, James Carman <ja...@carmanconsulting.com> wrote: Does all of this Scylla talk really even belong on the Cassandra user mailing list in the first pla

Re: Cassandra: Inconsistent data on reads (LOCAL_QUORUM)

2018-10-13 Thread James Carman
PM Naik, Ninad wrote: > Thanks James. Yeah, we're using the datastax java driver. But we're on > version 2.1.10.2. And we are not using the client side timestamps. > -- > *From:* James Carman > *Sent:* Saturday, October 13, 2018 12:55:51 PM

Re: Cassandra: Inconsistent data on reads (LOCAL_QUORUM)

2018-10-13 Thread James Carman
Are you using the Java driver? The default timestamp generator is client-side now (since 3.0 I believe), so if you don’t change it, you need your client clocks to be in sync also. On Sat, Oct 13, 2018 at 1:24 PM Naik, Ninad wrote: > Thanks Maitrayee. I should have mentioned this as one of the

SNAPSHOT builds?

2018-09-29 Thread James Carman
I am trying to find 4.x SNAPSHOT builds. Are they available anywhere handy? I'm trying to work on Java 11 compatibility for a library. Thanks, James

Re: SNAPSHOT builds?

2018-09-29 Thread James Carman
out but the build > instructions still apply: > > http://thelastpickle.com/blog/2018/08/16/java11.html > > > On Sat, Sep 29, 2018 at 7:01 AM James Carman > wrote: > >> I am trying to find 4.x SNAPSHOT builds. Are they available anywhere >> handy? I'm trying to work