Cassandra-cql read error

2013-10-07 Thread Martin Arrowsmith
Hi all, We are using the Ruby gem wrapper for Cassandra: "cassandra-cql" I was wondering if anyone has come across this error before: Error #, /usr/local/rvm/gems/ruby-1.9.3-p448-turbo/gems/thrift-0.8.0/lib/thrift/transport/socket.rb:109:in `read': We seem to get this when there is a heavy loa

Re: Minimum CPU and RAM for Cassandra and Hadoop Cluster

2013-07-17 Thread Martin Arrowsmith
, but if it is all on one machine then why > use > > Cassandra or hadoop? > > > > Sent from my phone > > > > On 13 Jul 2013 01:16, "Martin Arrowsmith" > > wrote: > >> > >> Dear Cassandra experts, > >> > >> I

Minimum CPU and RAM for Cassandra and Hadoop Cluster

2013-07-12 Thread Martin Arrowsmith
Dear Cassandra experts, I have an HP Proliant ML350 G8 server, and I want to put virtual servers on it. I would like to put the maximum number of nodes for a Cassandra + Hadoop cluster. I was wondering - what is the minimum RAM and memory per node I that I need to have Cassandra + Hadoop before th

Re: Querying all keys in a column family

2012-02-25 Thread Martin Arrowsmith
gt; >> - >> Aaron Morton >> Freelance Developer >> @aaronmorton >> http://www.thelastpickle.com >> >> On 14/02/2012, at 11:00 AM, Martin Arrowsmith wrote: >> >> Hi Experts, >> >> My program is such that it queries all

Re: data model advice

2012-02-23 Thread Martin Arrowsmith
Hi Franc, Or, you can consider using composite columns. It is not recommended to use Super Columns anymore. Best wishes, Martin On Thu, Feb 23, 2012 at 7:51 PM, Indranath Ghosh wrote: > How about using a composite row key like the following: > > Entity.Day1.TypeA: {col1:val1, col2:val2, . . .

Querying all keys in a column family

2012-02-13 Thread Martin Arrowsmith
Hi Experts, My program is such that it queries all keys on Cassandra. I want to do this as quick as possible, in order to get as close to real-time as possible. One solution I heard was to use the sstables2json tool, and read the data in as JSON. I understand that reading from each line in Cassan

Re: Retrieve all composite columns from a row, whose composite name's first component matches from a list of Integers

2011-12-28 Thread Martin Arrowsmith
I believe this calls for Cassanda Cookbook 2nd edition :) On Wed, Dec 28, 2011 at 10:26 AM, Edward Capriolo wrote: > Super columns have the same fundamental problem and perform worse in > general. So switching from composites to super columns is NEVER a good idea. > > > On Wed, Dec 28, 2011 at 1:

Composite Column Question

2011-12-20 Thread Martin Arrowsmith
Dear Cassandra Experts, Are the number of composite attributes fixed for each column family ? I have been doing : "create column family MyCF with comparator = 'CompositeType(IntegerType, UTF8Type)' And this creates a composite { integer:string } Hector complains when I give a 3rd attribute. If

Composite Column Queries with Hector

2011-12-19 Thread Martin Arrowsmith
Dear Cassandra and Hector experts, I am using Hector to implement and query information from Composite Columns. I found this site to be quite useful: http://randomizedsort.blogspot.com/2011/11/cassandra-range-query-using.html It goes through the steps of creating a composite column, to perform s