Re: 0.7 PHP thrift example

2011-02-12 Thread Sasha Dolgy
Check out phpcassa on github maintained by thobbs On 13 Feb 2011 01:52, "Courtney Robinson" wrote: > Does anyone have a working 0.7 thrift example in PHP...? > I compiled 0.5 version of thrift and built the PHP bindings > but when I try to run the php example on the wiki I get > > TException: Erro

Extra Large Memtables

2011-02-12 Thread E S
I am trying to minimize my SSTable count to help cut down my read latency. I have some very beefy boxes for my cassandra nodes (96 gigs of memory each). I think this gives me a lot of flexibility to cut down SSTable count by having a very large memtable throughput setting. While experimenting

Does Cassandra support multiple listen_address and rpc_address?

2011-02-12 Thread Xiaobo Gu
multiple network paths for inner-cluster communication will boost performance Thanks. Xiaobo Gu

Confused about get_slice SliceRange behavior with bloom filter

2011-02-12 Thread E S
I've gotten myself really confused by http://wiki.apache.org/cassandra/ArchitectureInternals and am hoping someone can help me understand what the io behavior of this operation would be. When I do a get_slice for a column range, will it seek to every SSTable? I had thought that it would use t

0.7 PHP thrift example

2011-02-12 Thread Courtney Robinson
Does anyone have a working 0.7 thrift example in PHP...? I compiled 0.5 version of thrift and built the PHP bindings but when I try to run the php example on the wiki I get TException: Error: Attempt to send non-object type as a T_STRUCT

RE: per-connection "read-after-my-write" consistency

2011-02-12 Thread Dan Hendry
> So the suggestion is to use at least 3 nodes with RF=3 and CL.QUORUM for both write and reads where high consistency is required, right? Yes, this is the typical way to use Cassandra when both consistency and availability are required. Dan From: Michal Augustýn [mailto:augustyn.mic...

RE: per-connection "read-after-my-write" consistency

2011-02-12 Thread Dan Hendry
Are you using a higher level client (hector/pelops/pycassa/etc) or the actual thrift API? Higher level clients often pool connections and two subsequent operations (read then write) may be performed with connections to different nodes. If you are sure you are using the same connection (the actu

Re: per-connection "read-after-my-write" consistency

2011-02-12 Thread Michal Augustýn
Hi, I'm using .NET and I wrote my own client library (over Thrift) so I'm absolutely sure that both operations are performed using the same connection. I can handle the current issue in application but I'm sure that I will not be able to handle some future situation in application. So the suggest

Re: Indexes and hard disk

2011-02-12 Thread Filip Nguyen
On 12.2.2011 16:15, Bill de hÓra wrote: (under the hood, a 0.7 index is a 'private' CF). Thanks for answer, that sounds very clever and neat!

Partioning and Sorting is it CF Key or Column Key?

2011-02-12 Thread mcasandra
public class ColumnFamily { Byte[] name; // The key is a user generated key Map> value = null; } Some questions I have: 1) Is partitioning based on CF.KEY or KEY of Column? From what I read it's based on column keys and not the CF keys but want to confirm. 2) When data is entered is it sorte

Re: Merging the rows of two column families(with similar attributes) into one ??

2011-02-12 Thread Aditya Narayan
Any comments/view points on this? --On Sat, Feb 12, 2011 at 5:05 PM, Aditya Narayan wrote: What if the caching requirements, sorting needs of two kind of data are very much similar, is it preferable to go with a single CF in those cases ? Regards Aditya > > >>> On Sat, Feb 5, 2011 at 10:4

Re: Indexes and hard disk

2011-02-12 Thread mcasandra
Javier Canillas wrote: > > > On the other hand, if your application will use heavily cassandra i > recommend making a calcularon of the data volumen that will handle and > using a partition that is actually 3 to 5 times bigger. Doing so you > will be able to play around with compactation strate

Re: Indexes and hard disk

2011-02-12 Thread Dave Revell
Indexes have another important advantage over multiple denormalized column families. If you make the copies yourself, eventually the copies will diverge from the base "true" column family due to routine occasional failures. You'll probably want to find and fix these inconsistencies. If you're usin

RE: How can I implement text based searching for the data/entities/items stored in Cassandra ?

2011-02-12 Thread Vivek Mishra
Absolutly, interestingly Solution based on Lucandra is integrated with Kundera.. From: Shaun Cutts [sh...@cuttshome.net] Sent: 12 February 2011 21:18 To: user@cassandra.apache.org Subject: Re: How can I implement text based searching for the data/entities/items st

Re: cassandra solaris x64 support

2011-02-12 Thread Sylvain Lebresne
On Sat, Feb 12, 2011 at 2:52 AM, Xiaobo Gu wrote: > On Fri, Feb 11, 2011 at 11:54 PM, Sylvain Lebresne > wrote: > > > > > > On Fri, Feb 11, 2011 at 4:27 PM, Xiaobo Gu > wrote: > >> > >> On Fri, Feb 11, 2011 at 11:21 PM, Roland Gude < > roland.g...@yoochoose.com> > >> wrote: > >> > This is a pro

Re: creating secondary index after data exists

2011-02-12 Thread Jonathan Ellis
index creation isn't instant, no. cli describe keyspace will tell you which ones are still building. On Sat, Feb 12, 2011 at 7:40 AM, Sasha Dolgy wrote: > hi there, > was playing around today and had a simple CF with sample user data with the > following columns: > > | email | name | nickname |

Re: How can I implement text based searching for the data/entities/items stored in Cassandra ?

2011-02-12 Thread Shaun Cutts
There is/are lucandra/solandra: https://github.com/tjake/Lucandra -- Shaun On Feb 12, 2011, at 6:57 AM, Aklin_81 wrote: > I would like to text search for some of Entities/items stored in the > database through an AJAX powered application...Such that the user > starts typing and he can get

Re: Is Avro still supported?

2011-02-12 Thread Edward Capriolo
https://issues.apache.org/jira/browse/CASSANDRA-926 On Sat, Feb 12, 2011 at 8:27 AM, Joshua Partogi wrote: > Hi, > > I saw in the latest source in trunk, avro codes has been deleted. Does > this mean Avro is not supported anymore? If so, what was the decision > behind dropping the support for Avr

Re: Indexes and hard disk

2011-02-12 Thread Bill de hÓra
On Sat, 2011-02-12 at 14:03 +0100, Filip Nguyen wrote: > Why the secondary indexes are even present in Cassandra? I thought the > point is that development in Cassandra is query driven, that when you > want to search and fetch for example by birth date you should create > new ColumnFamilly...

Re: Indexes and hard disk

2011-02-12 Thread Javier Canillas
As for indexes, cassandra supports columns as indexes (there is a property called some sort of "type" that can have the value "KEYS". Start your search in that direction (this is a feature from 0.7) introduce when you create dinamically columnfamilies and you declare its columns On the other hand,

creating secondary index after data exists

2011-02-12 Thread Sasha Dolgy
hi there, was playing around today and had a simple CF with sample user data with the following columns: | email | name | nickname | >From the cassandra-cli I ran the following: update column family user with column_metadata=[{column_name: nickname, validation_class: UTF8Type,index_type: KEYS

Is Avro still supported?

2011-02-12 Thread Joshua Partogi
Hi, I saw in the latest source in trunk, avro codes has been deleted. Does this mean Avro is not supported anymore? If so, what was the decision behind dropping the support for Avro? Thanks -- http://twitter.com/jpartogi

Re: Cassandra documentation

2011-02-12 Thread Bill de hÓra
On Fri, 2011-02-11 at 10:06 +1300, Aaron Morton wrote: > There is also a book http://oreilly.com/catalog/0636920010852 > > I've not read it yet, so cannot comment on it's quality. Good book, worth getting. Cassandra is a moving target so some detailed info is already out of date, eg references to

Re: Indexes and hard disk

2011-02-12 Thread Filip Nguyen
On 12.2.2011 13:56, Bill de hÓra wrote: On Fri, 2011-02-11 at 23:24 -0800, mcasandra wrote: Are indexes supported in Cassandra? If yes then what kind? Also, if it's supported then please point me to the place that give more information about it. Secondary Indexes:

Re: Indexes and hard disk

2011-02-12 Thread Bill de hÓra
On Fri, 2011-02-11 at 23:24 -0800, mcasandra wrote: > Are indexes supported in Cassandra? If yes then what kind? Also, if it's > supported then please point me to the place that give more information about > it. Secondary Indexes:

Re: Cassandra concept

2011-02-12 Thread Sasha Dolgy
probably best to read the mail archives. been a good thread recently in the past month about supercolumns... On Sat, Feb 12, 2011 at 1:40 PM, Filip Nguyen wrote: > Hey i have just downloaded cassandra and playing with it. It's kinda new > thing for me (i always used relation dbs). I've read most

Cassandra concept

2011-02-12 Thread Filip Nguyen
Hey i have just downloaded cassandra and playing with it. It's kinda new thing for me (i always used relation dbs). I've read most of the material on wiki (including referenced) and I am puzzled why there is maximum of 3 dimensions (super column family - super column - columns)? who came up with

Re: Cassandra 0.7.0 Release in Riptano public repository?

2011-02-12 Thread Rauan Maemirov
When I try `rpm -i riptano-release-5-1.el6.noarch.rpm`, it just freeze. Does repository work? 2011/1/12 Michael Fortin > Thanks for your thoughtful and detailed replies Eric, it's much > appreciated. > > Mike > > On Jan 11, 2011, at 11:23 AM, Eric Evans wrote: > > > On Tue, 2011-01-11 at 09:23 -

RE: How can I implement text based searching for the data/entities/items stored in Cassandra ?

2011-02-12 Thread Vivek Mishra
Addtionally you can use cassandra indexes for specific search. From: Vivek Mishra [vivek.mis...@impetus.co.in] Sent: 12 February 2011 17:38 To: user@cassandra.apache.org Subject: RE: How can I implement text based searching for the data/entities/items stor

RE: How can I implement text based searching for the data/entities/items stored in Cassandra ?

2011-02-12 Thread Vivek Mishra
You can use: http://code.google.com/p/kundera/ to search text. it provides a way to search by any key over Cassandra. I guess, nothing inbuilt is in place for this. Vivek From: rajkumar@gmail.com [rajkumar@gmail.com] on behalf of Aklin_81 [asdk..

How can I implement text based searching for the data/entities/items stored in Cassandra ?

2011-02-12 Thread Aklin_81
I would like to text search for some of Entities/items stored in the database through an AJAX powered application...Such that the user starts typing and he can get the hints & suggested items. This is implemented in SQL databases using the LIKE, is it possible to anyhow implement this in an applica

Re: Merging the rows of two column families(with similar attributes) into one ??

2011-02-12 Thread Aditya Narayan
What if the caching requirements, sorting needs of two kind of data are very much similar, is it preferable to go with a single CF in those cases ? Regards Aditya >>> On Sat, Feb 5, 2011 at 10:43 AM, Tyler Hobbs  wrote: >> >> I read somewhere that more no of column families is not a good

per-connection "read-after-my-write" consistency

2011-02-12 Thread Michal Augustýn
Hi, I'm running 2 nodes with RF=2 (not optimal, I know), Cassandra 0.7.1. During one connection, I write (CL.ONE) a row and subsequently read (CL.ONE) the same row (via Thrift). I supposed that if I write row to one node then I can immediately read this row from this node. It seems to be true for

[ANN] Mojo's Cassandra Maven Plugin 0.7.0-1 released

2011-02-12 Thread Stephen Connolly
Hi, The Mojo team is pleased to announce the release of Mojo's Cassandra Maven Plugin version 0.7.0-1. Mojo's Cassandra Plugin is used when you want to install and control a test instance of Apache Cassandra from within your Apache Maven build. The plugin has the following goals. * cassandra:st