Commit log durability per column family

2012-06-10 Thread osishkin osishkin
I require durability for inserts to my column families so I'm using batch mode to insert data. However, I have some column families which I use for less important data (indexes) which are much more write intensive. If I could change the commit log setting only for them to periodic instead of batch,

Re: commitlog_sync_batch_window_in_ms change in 0.7

2012-05-30 Thread osishkin osishkin
prod unfortunately. > > > --Original Message-- > From: Rob Coli > To: user@cassandra.apache.org > To: osish...@gmail.com > ReplyTo: user@cassandra.apache.org > Subject: Re: commitlog_sync_batch_window_in_ms change in 0.7 > Sent: May 30, 2012 03:12 > > On Mon, May 2

commitlog_sync_batch_window_in_ms change in 0.7

2012-05-28 Thread osishkin osishkin
I'm experimenting with Cassandra 0.7 for some time now. I want to increase the value of commitlog_sync_batch_window_in_ms, without losing previous data. I can shut down my cluster, but I don't want to have the nodes ignore it due to some schema misoconfiguration etc when I get it up again. I apol

System keyspace behavior

2011-11-08 Thread osishkin osishkin
I'm trying to figure out the correct way to restart a cluster when I want to make schema changes. I'm using Cassandra 0.7.0 So far I simply shutdown all the nodes in my simple test cluster (1-2 nodes at most), deleted all the data in /var/lib/cassandra, restarted and applied the new schema. Obviou

Re: CQL and schema-less column family

2011-09-09 Thread osishkin osishkin
Hi, sorry for re-posting, but it would be very helpful to get some input on my previous post, so I'd know which direction to take. So if anyone of the more experienced users here can help, it would be greatly appreciated. Thank you Osi -- Forwarded message -- From: osi

Re: CQL and schema-less column family

2011-09-07 Thread osishkin osishkin
) On Wed, Sep 7, 2011 at 12:34 PM, Eric Evans wrote: > On Tue, Sep 6, 2011 at 12:22 PM, osishkin osishkin wrote: >> Sorry for the newbie question but I failed to find a clear answer. >> Can CQL be used to query a schema-less column family? can they be indexed? >> That is

CQL and schema-less column family

2011-09-06 Thread osishkin osishkin
Sorry for the newbie question but I failed to find a clear answer. Can CQL be used to query a schema-less column family? can they be indexed? That is, query for column names that do not necessarily exist in all rows, and were not defined in advance when the column family was created. Thank you

Predefined columns for Secondary index

2011-07-12 Thread osishkin osishkin
I'm thinking about Secondary indexes as an alternative for using column families to index my data. I'd appreciate some answers to basic questions about this new feature. 1. Can you insert a row to a column family with a predefined column metadata (and secondary index for these columns) that does n

Re: Multi-type column values in single CF

2011-07-04 Thread osishkin osishkin
ugh but would still be better performing >> then serializing to strings as it is done in your example. >> Prepending the values with the id seems to be better to me, because you >> can be sure that a new insertion to some field overwrites the correct column >> even if it c

Multi-type column values in single CF

2011-07-03 Thread osishkin osishkin
Hi all, I need to store column values that are of various data types in a single column family, i.e I have column values that are integers, others that are strings, and maybe more later. All column names are strings (no comparator problem for me). The thing is I need to store unstructured data - I

Column value type

2011-06-22 Thread osishkin osishkin
Is there a limitation on the data type of a column value (not column name) in cassandra? I'm saving data using a pycassa client, for a UTF8 column family, and I get an error when I try saving integer data values. Only when convert the values to string can I save the data. Looking at the pycassa cod

Re: port 8080

2011-06-21 Thread osishkin osishkin
21, 2011 at 2:28 PM, Sasha Dolgy wrote: > it's defined in $CASSANDRA_HOME/conf/cassandra-env.sh > > JMX_PORT= > > Have it different for each instance ... > > On Tue, Jun 21, 2011 at 1:24 PM, osishkin osishkin wrote: >> I want to have several deamons running on

port 8080

2011-06-21 Thread osishkin osishkin
I want to have several deamons running on a machine, each belinging to a multi-node cluster. Is that a problem in concern to port 8080, for jmx monitoring? Is it somewhere hardcoded, so that changing it is the configuration files is not enough? Thank you osi

Re: Please need help with Munin: Cassandra Munin plugin problem

2010-08-05 Thread osishkin osishkin
I've managed to find the problem. Not a IBM vs. Sun JRE issue. It had to do with my RHEL distribution JRE defintions which caused conflicts (from /etc/java/java.conf...). When invoking with absolute path to java executable, instead of simply java the errors were gone. So no more errors in munin-nod

Re: Please need help with Munin: Cassandra Munin plugin problem

2010-08-04 Thread osishkin osishkin
Are you saying this based on your personal experience? Or is this just an educated guess? On Tue, Aug 3, 2010 at 11:19 PM, Brandon Williams wrote: > On Fri, Jul 30, 2010 at 9:58 AM, osishkin osishkin > wrote: >> >> I'm talking about the James Golick plugin. I followed t

Re: Please need help with Munin: Cassandra Munin plugin problem

2010-07-30 Thread osishkin osishkin
I'm talking about the James Golick plugin. I followed the instructions, and got nowhere. http://github.com/jamesgolick/cassandra-munin-plugins I saw in the mailing list that other people successfully got it to work Thanks

Cassandra Munin plugin problem

2010-07-26 Thread osishkin osishkin
Hi, I'm trying to use Munin to monitor cassandra. I've seen other people using munin here ,so I hope someone ran into this problem. The default plugins are working, so this is definitely a problem with the cassandra plugin. I keep getting errors such as : Exception in thread "main" java.lang.NoCl

Log configuration

2010-07-18 Thread osishkin osishkin
I didn't find in the documentation a way to configure message logging that I'm looking for, so I appologize if this is a trivial question. Is there a simple guide to configuring logging options in Cassandra? I saw references to output.log, transactions log. I deduced from some other post here that

Strange "Address already in use" error

2010-07-11 Thread osishkin osishkin
I'm testing a simple Cassandra cluster on two machines. For some reaon after a while one of the nodes in the cluster crashes. At first I thought the fault was on me, so I simply started it up again. After the second time this happenned I noticed the following message errors - INFO 17:28:05,624 My