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 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 > . Back to the tar-ball. For Ubuntu and Debian, I use the webupd8team packages, these download the

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. http:/

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 anyo

Re: Unable to start server

2013-10-14 Thread Blair Zajac
ransport with a max frame size of > > 15728640 bytes. > > INFO 12:27:59,289 Binding thrift service to localhost/127.0.0.1:9160 <http://127.0.0.1:9160> > INFO 12:27:59,299 Using synchronous/threadpool thrift server on localhost > > : 9160 > >

Re: Unable to start server

2013-10-12 Thread Blair Zajac
You have to use jdk 7, not 6, with Cassandra 2.0. Blair > On Oct 12, 2013, at 10:54 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) 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 > 4. deepak

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 C

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 H

Re: Cassandra Agent

2013-10-10 Thread Blair Zajac
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 Hector is largely based on Netflix's Priam. I would be very interested in getting feedback, from anyone willing

Re: Facebook Cassandra

2013-10-04 Thread Blair Zajac
On 10/04/2013 11:46 AM, Baskar Duraikannu wrote: Good evening. We are using Cassandra for a while. I have been faced with a question "why did facebook drop Cassandra" over and over again. I could not find a good answer to this question on the internet. Could you please help me with the question

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 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 C/C++ driver and w

Re: deb packages (and older versions)

2013-08-01 Thread Blair Zajac
some documentation saying those existed there? On Thu, Aug 1, 2013 at 3:32 PM, Blair Zajac 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 pic

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 packages

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 JAV

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 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 still

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

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

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 wa

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 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 context: > h

Re: Logging Cassandra Reads/Writes

2013-07-09 Thread Blair Zajac
On 07/09/2013 12:25 PM, hajjat wrote: Hi, In a quorum read, my understanding is that Cassandra gets a digest of the object to be read from all nodes, and then chooses the fastest node for retrieving the data (if the quorum is met). According to this talk at Cassandra summit, that's incorrect.

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

2013-07-01 Thread Blair Zajac
Jun 29, 2013 at 9:51 PM, Blair Zajac 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 P

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

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 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 sho

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

2013-06-24 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_tes

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 = null

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 CA

Re: CAS and long lived locks

2013-06-24 Thread Blair Zajac
, 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 mailto:bl...@orcaware.com>> wrote: Looking at the Cassandra 13 keynote [1], slide 56 regarding hinted writes causing the

Re: CAS and long lived locks

2013-06-24 Thread Blair Zajac
you are able to grab 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 mailto:bl...@orcaware.com>> wrote:

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 pre

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-16 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 (known

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 MAP to MAP. 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 change the map type using A

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 java-dri

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

2013-05-06 Thread Blair Zajac
out of the directory. There is a chance of data loss if this row mutation is being replied on all nodes. Cheers - Aaron Morton Freelance Cassandra Consultant New Zealand @aaronmorton http://www.thelastpickle.com On 3/05/2013, at 2:36 PM, Blair Zajac mailto:bl...@orcaware.com>

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 i