Re: How many Column Families can Cassandra handle?

2013-09-30 Thread Aaron Morton
At 600 CF's I would expect to see very frequent flushing to disk, as the algorithm that drives this from a memory standpoint is sensitive to the number of CF's. Additionally, and from experience on earlier versions, you can expect it to take over half an hour to make schema changes to over

Re: Query about class org.apache.cassandra.io.sstable.SSTableSimpleWriter

2013-09-30 Thread Aaron Morton
Thanks for the reply. Isn't the addColumn(IColumn col) method in the writer private though? Yes but I thought you had it in your examples, was included for completeness. use the official overloads. Cheers - Aaron Morton New Zealand @aaronmorton Co-Founder Principal

Re: Connecting to a remote cassandra node..

2013-09-30 Thread Aaron Morton
See the comments for rpc_address and listen_address in the yaml file. These control which interfaces the server binds to. If you leave them as blank and DNS is correctly setup they will bind to the correct address. If you set them to 0.0.0.0 they will bind to all interfaces, you should not

Re: 2.0.1 counter replicate on write error

2013-09-30 Thread Aaron Morton
ERROR [ReplicateOnWriteStage:19] 2013-09-27 10:17:14,778 CassandraDaemon.java (line 185) Exception in thread Thread[ReplicateOnWriteStage:19,5,main] java.lang.AssertionError: DecoratedKey(-1754949563326053382, a414b0c07f0547f8a75410555716ced6) != DecoratedKey(-1754949563326053382,

Re: What is the best way to install upgrade Cassandra on Ubuntu ?

2013-09-30 Thread Aaron Morton
I am not sure if I should use datastax's DSC or official Debian packages from Cassandra. How do I choose between them for a production server ? They are technically the same. The DSC update will come out a little after the Apache release, and I _think_ they release for every Apache release.

Re: HintedHandoff process does not finish

2013-09-30 Thread Aaron Morton
What can be the reason for the handoff process not to finish? Check for other errors about timing out during hint reply. What would be the best way to recover from this situation? If they are really causing trouble drop the hints via HintedHandoffManager JMX MBean or stopping the node and

Re: temporal solution to CASSANDRA-5543: BUILD FAILED at gen-cql2-grammar target

2013-09-30 Thread Aaron Morton
It's an error in the antlr compilation, check the antlr versions. Cheers - Aaron Morton New Zealand @aaronmorton Co-Founder Principal Consultant Apache Cassandra Consulting http://www.thelastpickle.com On 27/09/2013, at 11:53 PM, Miguel Angel Martin junquera

Re: Connecting to a remote cassandra node..

2013-09-30 Thread Krishna Chaitanya
Thanks... On Sep 30, 2013 12:35 PM, Aaron Morton aa...@thelastpickle.com wrote: See the comments for rpc_address and listen_address in the yaml file. These control which interfaces the server binds to. If you leave them as blank and DNS is correctly setup they will bind to the correct

Re: What is the best way to install upgrade Cassandra on Ubuntu ?

2013-09-30 Thread Ertio Lew
Thanks Aaron! Does DSC include other things like Opscenter by default ? I installed DSC on linux, but Opscenter wasn't installed there but when tried on Windows it was installed along with JRE python, using the windows installer. Would it be possible to remove any of these installations but

RE: 2.0.1 counter replicate on write error

2013-09-30 Thread Christopher Wirt
Thanks Aaron, I've added to the ticket. We were not running on TRACE logging. From: Aaron Morton [mailto:aa...@thelastpickle.com] Sent: 30 September 2013 08:37 To: user@cassandra.apache.org Subject: Re: 2.0.1 counter replicate on write error ERROR [ReplicateOnWriteStage:19] 2013-09-27

Re: temporal solution to CASSANDRA-5543: BUILD FAILED at gen-cql2-grammar target

2013-09-30 Thread Miguel Angel Martin junquera
hi: is that mean that antlr-3.2.jar is not the correct version? what is the correct version? In the build file, I see that cassandra uses the jar lib at the * ${build.lib}* folder, in this case antlr-3.2.jar ... target name=gen-cql2-grammar depends=check-gen-cql2-grammar

Re: Among Datastax community Cassandra debian package, which to choose for production install ?

2013-09-30 Thread Ken Hancock
OpsCenter should be a separate package as you would only install it on a single node, not necessarily even one that is running Cassandra. On Sat, Sep 28, 2013 at 2:12 PM, Ertio Lew ertio...@gmail.com wrote: I think both provide the same thing except Datastax Community also provides some

Cassandra Summit EU 2013

2013-09-30 Thread Jeremy Hanna
For those in the Europe area, there will be a Cassandra Summit EU 2013 in London in the month of October. On 17 October, there will be the main conference sessions and the 16th and 18th there will be Cassandra workshops. http://www.datastax.com/cassandraeurope2013 The speakers have been

Undefined name key_alias in selection clause pig 0.11.1 and cassandra 2.0.1

2013-09-30 Thread Miguel Angel Martin junquera
hi: I try to test cassandra 2.0.1 and pig 0.11.1 but always when i try to load any keyspacei have this error: Example creating a test keyspace and data: I have this error: *grunt define CqlStorage org.apache.cassandra.hadoop.pig.CqlStorage();* *grunt rows = LOAD 'cql://keyspace0/test'

Re: Undefined name key_alias in selection clause pig 0.11.1 and cassandra 2.0.1

2013-09-30 Thread Miguel Angel Martin junquera
I have the same issue using cassandraStorage() and other dataset for this *note*: the example cql3 datatest are CREATE TABLE test ( id text PRIMARY KEY, title text, age int ); and insert some dummy data insert into test (id, title, age) values('1', 'child', 21); insert into test (id,

Why Solandra stores Solr data in Cassandra ? Isn't solr complete solution ?

2013-09-30 Thread Ertio Lew
Solr's data is stored on the file system as a set of index files[ http://stackoverflow.com/a/7685579/530153]. Then why do we need anything like Solandra or DataStax Enterprise Search? Isn't Solr complete solution in itself ? What do we need to integrate with Cassandra ?

Re: Why Solandra stores Solr data in Cassandra ? Isn't solr complete solution ?

2013-09-30 Thread Peter Lin
the main reason is scalability and performance. If your Solr indexes fit fine on a single system and doesn't need to scale out, Cassandra/HDFS isn't necessary. On Mon, Sep 30, 2013 at 11:50 AM, Ertio Lew ertio...@gmail.com wrote: Solr's data is stored on the file system as a set of index

Re: Why Solandra stores Solr data in Cassandra ? Isn't solr complete solution ?

2013-09-30 Thread Robert Coli
On Mon, Sep 30, 2013 at 8:50 AM, Ertio Lew ertio...@gmail.com wrote: Solr's data is stored on the file system as a set of index files[ http://stackoverflow.com/a/7685579/530153]. Then why do we need anything like Solandra or DataStax Enterprise Search? Isn't Solr complete solution in itself ?

Re: Why Solandra stores Solr data in Cassandra ? Isn't solr complete solution ?

2013-09-30 Thread Ken Hancock
To clarify, solr indexes are not distributed in the same way that Cassandra data is stored. With Cassandra, each node receives a fraction of the keyspace (based on your replication factor and token assignment). With DSE Search, writes to Cassandra are hooked and each node independently indexes

Re: Why Solandra stores Solr data in Cassandra ? Isn't solr complete solution ?

2013-09-30 Thread Andrey Ilinykh
Also, be aware that while Cassandra has knobs to allow you to get consistent read results (CL=QUORUM), DSE Search does not. If a node drops messages for whatever reason, outtage, mutation, etc. its solr indexes will be inconsistent with other nodes in its replication group. Will repair fix

Re: Why Solandra stores Solr data in Cassandra ? Isn't solr complete solution ?

2013-09-30 Thread Ken Hancock
Yes. On Mon, Sep 30, 2013 at 1:57 PM, Andrey Ilinykh ailin...@gmail.com wrote: Also, be aware that while Cassandra has knobs to allow you to get consistent read results (CL=QUORUM), DSE Search does not. If a node drops messages for whatever reason, outtage, mutation, etc. its solr indexes

How to log the details of the updated data locally

2013-09-30 Thread sathiya prabhu
Hi all, In cassandra cluster, once a write/update is successful to the particular instance locally, i want to log the data that is updated and its timestamps separately in a file.. In which class it will be more appropriate to do this..  To the extent i explored the codebase, it's possible to

Re: Why Solandra stores Solr data in Cassandra ? Isn't solr complete solution ?

2013-09-30 Thread Sávio Teles
Solr's index sitting on a single machine, even if that single machine can vertically scale, is a single point of failure. And about Cloud Solr? 2013/9/30 Ken Hancock ken.hanc...@schange.com Yes. On Mon, Sep 30, 2013 at 1:57 PM, Andrey Ilinykh ailin...@gmail.comwrote: Also, be aware

Segmentation fault when trying to store into cassandra...

2013-09-30 Thread Krishna Chaitanya
Hello, I modified a network probe which collects network packets to store them into cassandra. So there are many packets that are coming in, I capture the packets in the program and store them into cassandra. I am using libQtCassandra library. The program is crashing with segmentation

Re: Segmentation fault when trying to store into cassandra...

2013-09-30 Thread Vivek Mishra
Java version issue? Using sun jdk or open jdk? -Vivek On Tue, Oct 1, 2013 at 6:16 AM, Krishna Chaitanya bnsk1990r...@gmail.comwrote: Hello, I modified a network probe which collects network packets to store them into cassandra. So there are many packets that are coming in, I