Re: Installing Datastax Cassandra 1.2.15 Using Yum (Java Issue)

2014-03-28 Thread Blair Zajac
On Mar 27, 2014, at 2:16 PM, Michael Dykman mdyk...@gmail.com wrote: Java on linux has *always* been a hassle. Recently, installing ant via apt-get on an active ubuntu still want to yank in components of GCJ shudder. Back to the tar-ball. For Ubuntu and Debian, I use the webupd8team

Re: Cassandra debian package that supports ver. 1.11.11

2013-11-12 Thread Blair Zajac
On 11/12/2013 12:23 PM, Michael Hayes wrote: I need this specific version for my usergrid chef recipe. Right now I’m using the datastax tarball from: http://downloads.datastax.com/community/dsc-cassandra-1.1.11-bin.tar.gz But a debian package would be better to properly setup the node.

Re: Anyone use Cassandra with Spring?

2013-10-22 Thread Blair Zajac
Are you referring to using the dependency injection part or the JdbcTemplate part, or perhaps some other part? I use the Java Driver with Spring just fine and wrote a thin JdbcTemplate style wrapper on top of Java-Driver (in Scala). Blair On 10/21/2013 06:10 PM, Les Hartzman wrote: Has

Re: Unable to start server

2013-10-14 Thread Blair Zajac
on localhost : 9160 INFO 12:27:59,302 Listening for thrift clients... On Sun, Oct 13, 2013 at 11:30 AM, Blair Zajac bl...@orcaware.com mailto:bl...@orcaware.com wrote: You have to use jdk 7, not 6, with Cassandra 2.0. Blair On Oct 12, 2013, at 10:54 PM, ÐΞ€ρ@Ҝ

Re: Unable to start server

2013-10-13 Thread Blair Zajac
You have to use jdk 7, not 6, with Cassandra 2.0. Blair On Oct 12, 2013, at 10:54 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) deepuj...@gmail.com wrote: Just started with cassandra 1. Unpacked apache-cassandra-2.0.1 2. Created /var/lib/cassandra/ /var/log/cassandra// 3. Modified the owner from root to deepakkv

Re: Cassandra Agent

2013-10-10 Thread Blair Zajac
On 10/10/2013 08:53 PM, Sean McCully wrote: On Thursday, October 10, 2013 08:30:42 PM Blair Jacuzzi wrote: On 10/10/2013 07:54 PM, Sean McCully wrote: Hello Cassandra Users, I've recently created a Cassandra Agent as part of Netflix's Cloud Prize competition, the submission which I've named

Re: Cassandra Agent

2013-10-10 Thread Blair Zajac
On 10/10/2013 10:28 PM, Blair Zajac wrote: On 10/10/2013 08:53 PM, Sean McCully wrote: On Thursday, October 10, 2013 08:30:42 PM Blair Jacuzzi wrote: On 10/10/2013 07:54 PM, Sean McCully wrote: Hello Cassandra Users, I've recently created a Cassandra Agent as part of Netflix's Cloud Prize

Re: DataStax Native Protocol Python Driver [beta]

2013-08-16 Thread Blair Zajac
On 8/16/13 9:05 AM, Tyler Hobbs wrote: On Fri, Aug 16, 2013 at 3:35 AM, Sergey Leschenko sergle...@gmail.com mailto:sergle...@gmail.com wrote: Is there some list of planned drivers for other programming languages? I don't know if we have a list somewhere, but we're currently working on a

Re: deb packages (and older versions)

2013-08-01 Thread Blair Zajac
On 08/01/2013 12:27 PM, David McNelis wrote: Hey folks, Because 1.2.8 hasn't been pushed to the repo yet, I see that I can pick up the package at http://people.apache.org/~eevans/ and install it manually. This is great. I'm wondering though, is there a place where I can pick up Debian

Re: deb packages (and older versions)

2013-08-01 Thread Blair Zajac
documentation saying those existed there? On Thu, Aug 1, 2013 at 3:32 PM, Blair Zajac bl...@orcaware.com mailto:bl...@orcaware.com wrote: On 08/01/2013 12:27 PM, David McNelis wrote: Hey folks, Because 1.2.8 hasn't been pushed to the repo yet, I see that I can pick

Re: Cassandra 2.0 : Ant build issue

2013-07-22 Thread Blair Zajac
On 07/22/2013 12:16 PM, Soumava Ghosh wrote: Hi, I'm working on a Mac OS 10.8 and trying to build the cassandra trunk using ant. I am getting the error as below. I can see a related bug that fixed a similar issue for debian (https://issues.apache.org/jira/browse/CASSANDRA-5688), but I can

Re: Cassandra 2.0 : Ant build issue

2013-07-22 Thread Blair Zajac
On 07/22/2013 01:18 PM, Soumava Ghosh wrote: Downloaded 1.7.0_25 and it still produces the following result: soumava$ git describe cassandra-2.0.0-beta1-100-ge0eacd2 soumava$ ant ... build-project: [echo] apache-cassandra: /Users/soumava/Documents/src/git-cassandra/build.xml [javac]

Re: Cassandra 2.0 : Ant build issue

2013-07-22 Thread Blair Zajac
On 07/22/2013 01:31 PM, Soumava Ghosh wrote: Thanks Andrew! JAVA_HOME was the issue. It was not set, and I think that's why the build was somehow defaulting to /Library/Java/Home which was a 1.6 JDK. It should have been /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home. Setting

Re: How many DCs can you have in a cluster?

2013-07-12 Thread Blair Zajac
how it will work in case of 10-20 replication factor specially for range queries. On Thu, Jul 11, 2013 at 7:14 PM, Blair Zajac bl...@orcaware.com wrote: In this C* Summit 2013 talk titled A Deep Dive Into How Cassandra Resolves Inconsistent Data [1], Jason Brown of Netflix mentions

How many DCs can you have in a cluster?

2013-07-11 Thread Blair Zajac
In this C* Summit 2013 talk titled A Deep Dive Into How Cassandra Resolves Inconsistent Data [1], Jason Brown of Netflix mentions that they have 5 data centers in the same cluster, two in the US, one in Europe, one in Brazil and one in Asia (I'm going from memory now since I don't want to

Re: Logging Cassandra Reads/Writes

2013-07-09 Thread Blair Zajac
No idea on the logging, I'm pretty new to Cassandra. Regards, Blair On Jul 9, 2013, at 12:50 PM, hajjat haj...@purdue.edu wrote: Blair, thanks for the clarification! My friend actually just told me the same.. Any idea on how to do logging?? Thanks! -- View this message in

Re: How to do a CAS UPDATE on single column CF?

2013-07-01 Thread Blair Zajac
PM, Blair Zajac bl...@orcaware.com mailto:bl...@orcaware.com wrote: On 6/24/13 8:23 PM, Blair Zajac wrote: How does one do an atomic update in a column family with a single column? I have a this CF CREATE TABLE schema_migrations ( version TEXT PRIMARY KEY

Re: Mixing CAS UPDATE and non-CAS DELETE

2013-06-29 Thread Blair Zajac
On 6/26/13 10:26 AM, Sylvain Lebresne wrote: On Tue, Jun 25, 2013 at 5:30 AM, Blair Zajac bl...@orcaware.com mailto:bl...@orcaware.com wrote: But if I want to delete it regardless of v1, then this doesn't work: DELETE FROM test WHERE k = 0 IF EXISTS That's correct, though we

Re: How to do a CAS UPDATE on single column CF?

2013-06-29 Thread Blair Zajac
On 6/24/13 8:23 PM, Blair Zajac wrote: How does one do an atomic update in a column family with a single column? I have a this CF CREATE TABLE schema_migrations ( version TEXT PRIMARY KEY, ) WITH COMPACTION = {'class': 'LeveledCompactionStrategy'}; Anyone? Should I raise

Re: How to do a CAS UPDATE on single column CF?

2013-06-25 Thread Blair Zajac
On 06/24/2013 08:35 PM, Arthur Zubarev wrote: On 06/24/2013 11:23 PM, Blair Zajac wrote: CAS UPDATE Since when C* has IF NOT EXISTS in DML part of CQL? It's new in 2.0. https://issues.apache.org/jira/browse/CASSANDRA-5062 https://github.com/riptano/cassandra-dtest/blob/master/cql_tests.py

Re: CAS and long lived locks

2013-06-24 Thread Blair Zajac
it, then you can renew it for a longer time. This will make sure that in case of collision, all contenders wont be locked out for long time. You can use Netflix client recipe for locks. On Sat, Jun 22, 2013 at 3:09 PM, Blair Zajac bl...@orcaware.com mailto:bl...@orcaware.com wrote: Looking

Re: CAS and long lived locks

2013-06-24 Thread Blair Zajac
of collision, all contenders wont be locked out for long time. You can use Netflix client recipe for locks. On Sat, Jun 22, 2013 at 3:09 PM, Blair Zajac bl...@orcaware.com mailto:bl...@orcaware.com wrote: Looking at the Cassandra 13 keynote [1], slide 56 regarding hinted

How to do a CAS UPDATE on single column CF?

2013-06-24 Thread Blair Zajac
How does one do an atomic update in a column family with a single column? I have a this CF CREATE TABLE schema_migrations ( version TEXT PRIMARY KEY, ) WITH COMPACTION = {'class': 'LeveledCompactionStrategy'}; that records which database migrations have been applied. I want to do a

Mixing CAS UPDATE and non-CAS DELETE

2013-06-24 Thread Blair Zajac
Looking at the CAS unit tests [1], if one does a CAS UPDATE to create a ROW: UPDATE test SET v1 = 2, v2 = 'foo' WHERE k = 0 IF NOT EXISTS there isn't a CAS DELETE FROM that only uses the partition key. You can do this to delete the row using CAS: DELETE FROM test WHERE k = 0 IF v1 =

CAS and long lived locks

2013-06-22 Thread Blair Zajac
Looking at the Cassandra 13 keynote [1], slide 56 regarding hinted writes causing the lock to be taken even though the client thinks the lock attempt failed, which the new CAS support fixes. I have some database migrations to run on Cassandra, so I still need a long lived lock somewhere to

Re: Cassandra 1.2.5 RPM availability

2013-05-29 Thread Blair Zajac
On 05/29/2013 02:57 AM, Gabriel Ciuloaica wrote: Hi, When will 1.2.5 RPM be available into Datastax repo? Looks like it's there now: http://rpm.datastax.com/community/noarch/ Blair

Re: Announcing Mutagen

2013-05-17 Thread Blair Zajac
On 5/16/13 10:22 PM, Todd Fast wrote: Mutagen Cassandra is a framework providing schema versioning and mutation for Apache Cassandra. It is similar to Flyway for SQL databases. https://github.com/toddfast/mutagen-cassandra Mutagen is a lightweight framework for applying versioned changes

Re: hector or astyanax

2013-05-07 Thread Blair Zajac
On 05/07/2013 01:37 AM, aaron morton wrote: i want to know which cassandra client is better? Go with Astynax or Native Binary, they are both under active development and support by a vendor / large implementor. Native Binary being which one specifically? Do you mean the new DataStax

Re: Cassandra won't restart : 7365....6c73 is not defined as a collection

2013-05-07 Thread Blair Zajac
On 05/07/2013 01:28 AM, aaron morton wrote: I have also been changing types, e.g. lock_tokens__ from MAPUUID, BIGINT to MAPTEXT, BIGINT. The error looks like the schema was changed and a log replayed from before the change. Which obviously is not something we would expect to happen. Do you

Re: Cassandra won't restart : 7365....6c73 is not defined as a collection

2013-05-06 Thread Blair Zajac
:36 PM, Blair Zajac bl...@orcaware.com mailto:bl...@orcaware.com wrote: Hello, I'm running a 3-node development cluster on OpenStack VMs and recently updated to DataStax's 1.2.4 debs on Ubuntu Raring after which the cluster was fine. I shut it down for a few days and after getting back

Cassandra won't restart : 7365....6c73 is not defined as a collection

2013-05-02 Thread Blair Zajac
Hello, I'm running a 3-node development cluster on OpenStack VMs and recently updated to DataStax's 1.2.4 debs on Ubuntu Raring after which the cluster was fine. I shut it down for a few days and after getting back to Cassandra today and booting the VMs, Cassandra is unable to start. Below