Re: Anybody using Cassandra/DataStax Distribution with Java Service Wrapper?

2012-02-15 Thread Paul Brown
IMHO, Tanuki and the like are fabulous in a Windows environment (e.g., to install something as a "Service"), but on a *nix, you're better off to just come up with your own variant of the standard shell script and hook it into the OS lifecycle in the usual way. On Feb 15, 2012, at 4:05 PM, Drew

Re: R on Cassandra

2011-11-09 Thread Paul Brown
Hi, Brian -- A little late to reply, but I'm slowly catching up. You're going to be better off, IMHO, to pull the data out of Cassandra with a tool like Pig (probably with a bit of aggregation and filtering) and then operate on it in R as a static delimited file. If you need additional autom

Re: Best Approaches for Developer Integration

2011-02-07 Thread Paul Brown
On Feb 7, 2011, at 10:28 PM, Paul Querna wrote: > So, I guess this is coming down to: > 1) Has anyone built any easy to install packages of Cassandra? I didn't find it necessary. I implemented a simple embedding wrapper for Cassandra so that it could be started as part of a web application lif

Re: Lucandra Limitations

2011-01-27 Thread Paul Brown
Lucene trades on (32-bit) ints internally, so I expect you're just seeing a projection of that limitation. On Jan 27, 2011, at 10:40 AM, David G. Boney wrote: > I was reviewing the Lucandra schema presented on the below page at Datastax: > > http://www.datastax.com/docs/0.7/data_model/lucandra

Re: Seeing very weird results on 0.6.2 when paginating through a ColumnFamily with get_slice()

2010-07-15 Thread Paul Brown
You should make sure that your directions and interval endpoints are chosen correctly. I recall the semantics of the call being like an old-school for with the descending flag as a step of +1 or -1. -- Spelling by mobile. On Jul 15, 2010, at 20:19, Ilya Maykov wrote: > Hi all, > > I'm tryi

Re: How to import data from MYSQL to Cassandra

2010-07-01 Thread Paul Brown
On Jul 1, 2010, at 1:33 PM, Rana Aich wrote: > Can someone please please throw some light how can I import the Data from > mysql into Cassandra cluster. > - Is there any tool available? > OR > - Do I have to write my own Client using Thrift that will read the export > file (*.sql) and insert the

Re: AVRO client API

2010-06-18 Thread Paul Brown
On Jun 18, 2010, at 2:12 PM, Eric Evans wrote: > On Fri, 2010-06-18 at 11:00 -0700, Paul Brown wrote: >> At the risk of asking about religion (but with no interest in hearing >> about it), why Avro instead of something like plain-old-JSON over >> HTTP? > At the risk of

Re: AVRO client API

2010-06-18 Thread Paul Brown
On Jun 18, 2010, at 8:01 AM, Eric Evans wrote: > On Fri, 2010-06-18 at 12:27 +0530, Atul Gosain wrote: >> Is the client API for cassandra available in AVRO. > Significant parts of it, but it is not yet finished. >> If so, any links to examples or some documentation? > There is no samples or docume

Re: Continuously increasing RAM usage

2010-06-02 Thread Paul Brown
FWIW, I'm seeing similar issues on a cluster. Three nodes, Cassandra 0.6.1, SUN JDK 1.6.0_b20. I will try to get some heap dumps to see what's building up. I've seen this sort of issue in systems that make heavy use of java.util.concurrent queues/executors, e.g.: http://bugs.sun.com/bugdatab

Re: Trove maps

2010-05-04 Thread Paul Brown
We went through this with Ode w.r.t. Hibernate. Note that Ode still ships with Hibernate support there, just not with Hibernate libraries in the distribution or with a strong dependence on Hibernate. So, if you made Trove maps optional and provided an adapter, you'd be OK. You just can't bun

Re: cassandra instability

2010-04-16 Thread Paul Brown
11:06 AM, Lee Parker wrote: > Row caching is not turned on. > Lee Parker > > On Fri, Apr 16, 2010 at 12:58 PM, Paul Brown wrote: > > On Apr 16, 2010, at 10:50 AM, Lee Parker wrote: > > [...] > > I am trying to migrate data from mysql into the cluster using the foll

Re: cassandra instability

2010-04-16 Thread Paul Brown
On Apr 16, 2010, at 10:50 AM, Lee Parker wrote: > [...] > I am trying to migrate data from mysql into the cluster using the following > methodology: > 1. get 500 rows (12 columns each) from mysql > 2. build a batch_mutate to insert these rows into one CF (1 row = 1 row ) > 3. build a second batch

Odd/incorrect getSlice behavior with 0.6.0rc1

2010-04-07 Thread Paul Brown
> [Question about slice behavior from me] Bug? Misconception on my part? The answer is misconception; I interpreted the behavior of get_slice to be columns between X and Y, in ascending or descending depending on the "reversed" flag, but it's a little different start = X, end = Y, reversed =

Odd/incorrect getSlice behavior with 0.6.0rc1

2010-04-07 Thread Paul Brown
I have a column family the column names are ISO dates, e.g., "20100405" or "20100331", and the comparison is set to UTF8String. I have a unit test that spins up a Cassandra instance, inserts a few records, and then tries to a reverse traversal of a row by querying with an upper bound of initi