Re: Help with Cassandra Row Caches

2011-11-12 Thread Oleg Tsvinev
any saved caches, which might give you some more breathing room. On Fri, Nov 11, 2011 at 7:53 PM, Mohit Anchlia mohitanch...@gmail.com wrote: Can you temporarily increase the size of Heap and try? On Fri, Nov 11, 2011 at 5:21 PM, Oleg Tsvinev oleg.tsvi...@gmail.com wrote: Hi everybody

Help with Cassandra Row Caches

2011-11-11 Thread Oleg Tsvinev
Hi everybody, We set row cache too high, 1 or so and now all our 6 nodes fail with OOM. I believe that high row cache causes OOMs. Now, we trying to change row cache sizes using cassandra-cli update column family command but Cassandra nodes keep dying. Any help is appreciated, it's a

Re: HUnavailableException: : May not be enough replicas present to handle consistency level.

2011-09-02 Thread Oleg Tsvinev
only have 2 replicas configured in each data center? If so, LOCAL_QUORUM cannot be achieved with a host down same as with QUORUM on RF=2 in a single DC cluster. On Fri, Sep 2, 2011 at 1:40 PM, Oleg Tsvinev oleg.tsvi...@gmail.com wrote: I believe I don't quite understand semantics

Re: HUnavailableException: : May not be enough replicas present to handle consistency level.

2011-09-02 Thread Oleg Tsvinev
, Nate McCall n...@datastax.com wrote: It looks like you only have 2 replicas configured in each data center? If so, LOCAL_QUORUM cannot be achieved with a host down same as with QUORUM on RF=2 in a single DC cluster. On Fri, Sep 2, 2011 at 1:40 PM, Oleg Tsvinev oleg.tsvi...@gmail.com wrote: I

Re: HUnavailableException: : May not be enough replicas present to handle consistency level.

2011-09-02 Thread Oleg Tsvinev
have configured 2 replicas for each data center: Options: [DC2:2, DC1:2] If one of those replicas is down, then LOCAL_QUORUM will fail as there is only one replica left 'locally.' On Fri, Sep 2, 2011 at 3:35 PM, Oleg Tsvinev oleg.tsvi...@gmail.com wrote: from http://www.datastax.com/docs/0.8

Re: HUnavailableException: : May not be enough replicas present to handle consistency level.

2011-09-02 Thread Oleg Tsvinev
: Yes - you would need at least 3 replicas per data center to use LOCAL_QUORUM and survive a node failure. On Fri, Sep 2, 2011 at 3:51 PM, Oleg Tsvinev oleg.tsvi...@gmail.com wrote: Do you mean I need to configure 3 replicas in each DC and keep using LOCAL_QUORUM? In which case, if I'm following

Re: HUnavailableException: : May not be enough replicas present to handle consistency level.

2011-09-02 Thread Oleg Tsvinev
will fail as there is only one replica left 'locally.' On Fri, Sep 2, 2011 at 3:35 PM, Oleg Tsvinev oleg.tsvi...@gmail.com wrote: from http://www.datastax.com/docs/0.8/consistency/index: A “quorum” of replicas is essentially a majority of replicas, or RF / 2 + 1 with any resulting fractions rounded

Re: Cassandra in Multiple Datacenters Active - Standby configuration

2011-08-17 Thread Oleg Tsvinev
tokens look good to me. Cheers - Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 17/08/2011, at 9:19 AM, Oleg Tsvinev wrote: Hi all, I followed instructions here: http://wiki.apache.org/cassandra/Operations#Token_selection to create

Re: Cassandra in Multiple Datacenters Active - Standby configuration

2011-08-16 Thread Oleg Tsvinev
, 2011 at 1:39 PM, Oleg Tsvinev oleg.tsvi...@gmail.com wrote: Hi all, I have a question that documentation has not clear answer for. I have the following requirements: 1. Synchronously store data in datacenter DC1 on 2+ nodes 2. Asynchronously replicate the same data to DC2 and store it on 2

Cassandra in Multiple Datacenters Active - Standby configuration

2011-08-15 Thread Oleg Tsvinev
Hi all, I have a question that documentation has not clear answer for. I have the following requirements: 1. Synchronously store data in datacenter DC1 on 2+ nodes 2. Asynchronously replicate the same data to DC2 and store it on 2+ nodes to act as a hot standby Now, I have configured keyspaces

Cassandra 0.8.1: request for a sub-column still deserializes all sub-columns for that super column?

2011-07-21 Thread Oleg Tsvinev
Hi All, Cassandra documentation here: http://www.datastax.com/docs/0.8/data_model/supercolumns states that: Any request for a sub-column deserializes all sub-columns for that super column, so you should avoid data models that rely on on large numbers of sub-columns. Is this still true? Thank

8.0.1 Released - Debian Package ETA?

2011-06-28 Thread Oleg Tsvinev
Hi, First of all, thank you for releasing v8.0.1 and congrats! the list of fixes and improvements is impressive. Is there any ETA for Debian package? Is there a (standard) way to build it from sources? Thank you, Oleg

Re: 8.0.1 Released - Debian Package ETA?

2011-06-28 Thread Oleg Tsvinev
Thank you Dan! But I only see 0.8.0 there :( On Tue, Jun 28, 2011 at 5:35 PM, Dan Kuebrich dan.kuebr...@gmail.comwrote: 0.8.1 should be up--I've already installed it. Here's directions: http://wiki.apache.org/cassandra/DebianPackaging On Tue, Jun 28, 2011 at 8:24 PM, Oleg Tsvinev oleg.tsvi

Re: 8.0.1 Released - Debian Package ETA?

2011-06-28 Thread Oleg Tsvinev
. On Tue, Jun 28, 2011 at 8:40 PM, Oleg Tsvinev oleg.tsvi...@gmail.comwrote: Thank you Dan! But I only see 0.8.0 there :( On Tue, Jun 28, 2011 at 5:35 PM, Dan Kuebrich dan.kuebr...@gmail.comwrote: 0.8.1 should be up--I've already installed it. Here's directions: http://wiki.apache.org/cassandra

Re: 8.0.1 Released - Debian Package ETA?

2011-06-28 Thread Oleg Tsvinev
://www.apache.org/dist/cassandra/debian/dists/08x/main/binary-amd64/Packages Change your apt sources to use 08x instead of unstable. On Tue, Jun 28, 2011 at 5:55 PM, Oleg Tsvinev oleg.tsvi...@gmail.com wrote: Nope, only see 0.8.0. I updated sources in Synaptic Package manager, which does

Cassandra 0.7.4 and LOCAL_QUORUM Consistency level

2011-04-19 Thread Oleg Tsvinev
Earlier I've posted the same message to a hector-users list. Guys, I'm a bit puzzled today. I'm using just released Hector 0.7.0-29 (thank you, Nate!) and Cassandra 0.7.4 and getting the exception below, marked as (1) Exception. When I dig to Cassandra source code below, marked as (2) Cassandra

Re: Cassandra 0.7.4 and LOCAL_QUORUM Consistency level

2011-04-19 Thread Oleg Tsvinev
today when I tried using LOCAL_QUORUM without having a properly configured NetworkTopologyStrategy.  QUORUM worked fine however. will On Tue, Apr 19, 2011 at 8:52 PM, Oleg Tsvinev oleg.tsvi...@gmail.com wrote: Earlier I've posted the same message to a hector-users list. Guys, I'm a bit

Re: Cassandra 0.7.4 and LOCAL_QUORUM Consistency level

2011-04-19 Thread Oleg Tsvinev
, 2011, at 9:16 PM, Oleg Tsvinev oleg.tsvi...@gmail.com wrote: I'm puzzled because code does not even check for LOCAL_QUORUM before throwing exception. Indeed I did not configure NetworkTopologyStrategy. Are you saying that it works after configuring it? On Tue, Apr 19, 2011 at 6:04 PM, William

Cassandra 0.7.* replication question

2011-03-17 Thread Oleg Tsvinev
I wonder what it the right way to configure replication in Cassandra cluster. I need to have 3 copies of my data in a cluster consisting of 6 nodes. 3 of these nodes are in one datacenter - let's call it DC1 - and 3 in another, DC2. There is a significant latency between these datacenters and

Re: Why my posts are marked as spam?

2011-01-12 Thread Oleg Tsvinev
Which component? Mail Archives or Mail (qmail)? On Wed, Jan 12, 2011 at 9:06 AM, Eric Evans eev...@rackspace.com wrote: On Wed, 2011-01-12 at 08:39 -0800, Oleg Tsvinev wrote: And I be damned if I spam. Time to tweak some filters, eh? Maybe so. We don't have any control over that though

Re: Why my posts are marked as spam?

2011-01-12 Thread Oleg Tsvinev
Created: https://issues.apache.org/jira/browse/INFRA-3356 On Wed, Jan 12, 2011 at 9:25 AM, zGreenfelder zgreenfel...@gmail.comwrote: On Wed, Jan 12, 2011 at 11:39 AM, Oleg Tsvinev oleg.tsvi...@gmail.com wrote: I'm sending it from my GMail account. I'm opening a new topic, which rules out

Why my posts are marked as spam?

2011-01-11 Thread Oleg Tsvinev
Whatever I do, it happens :(

Re: CRUD test

2010-07-24 Thread Oleg Tsvinev
? Specifically, the first test is using creating one and checking for the other. On Fri, Jul 23, 2010 at 2:46 PM, Oleg Tsvinev oleg.tsvi...@gmail.com wrote: Johathan, I followed your suggestion. Unfortunately, CRUD test still does not work for me. Can you provide a simplest CRUD test

Re: CRUD test

2010-07-23 Thread Oleg Tsvinev
(##); } } -Original Message- From: Oleg Tsvinev [mailto:oleg.tsvi...@gmail.com] Sent: Thu 7/22/2010 1:56 PM To: user@cassandra.apache.org Subject: Re: CRUD test Yes, and that was the issue. But now after I delete a row from cassandra-cli, I cannot insert anything back with my code. Insert code

Re: CRUD test

2010-07-22 Thread Oleg Tsvinev
it cannot be created again. On Jul 22, 2010 1:13 AM, Colin Vipurs zodiac...@gmail.com wrote: Have you checked the timestamp you're using for the subsequent inserts is higher than that used in the delete? On Thu, Jul 22, 2010 at 2:29 AM, Oleg Tsvinev oleg.tsvi...@gmail.com wrote: Hi there, I'm try

CRUD test

2010-07-21 Thread Oleg Tsvinev
Hi there, I'm trying to implement a simple CRUD service based on Cassandra. I use Hector client. While writing tests, I found out that if I create a few columns using API, then delete them from cassandra-cli and and re-create them using the same code (same key, etc), I can never get these new