Re: Help with Cassandra Row Caches

2011-11-12 Thread Oleg Tsvinev
hes, which might give you some more > breathing room. > > On Fri, Nov 11, 2011 at 7:53 PM, Mohit Anchlia > wrote: >> >> Can you temporarily increase the size of Heap and try? >> >> On Fri, Nov 11, 2011 at 5:21 PM, Oleg Tsvinev >> wrote: >> > Hi every

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 product

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

2011-09-02 Thread Oleg Tsvinev
ons: [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 wrote: >> from http://www.datastax.com/docs/0.8/consistency/index: >> >> &g

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

2011-09-02 Thread Oleg Tsvinev
s - 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 wrote: >> Do you mean I need to configure 3 replicas in each DC and keep using >> LOCAL_QUORUM? In which case, if I'm f

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

2011-09-02 Thread Oleg Tsvinev
ve 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 wrote: >> from http://www.

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

2011-09-02 Thread Oleg Tsvinev
AL_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 wrote: >> I believe I don't quite understand semantics of this exception: >> >> me.prettyprint.hector.api.exceptio

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

2011-09-02 Thread Oleg Tsvinev
u 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 wrote: >> I believe I don't quite

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

2011-09-02 Thread Oleg Tsvinev
I believe I don't quite understand semantics of this exception: me.prettyprint.hector.api.exceptions.HUnavailableException: : May not be enough replicas present to handle consistency level. Does it mean there *might be* enough? Does it mean there *is not* enough? My case is as following - I have

Re: Cassandra in Multiple Datacenters Active - Standby configuration

2011-08-17 Thread Oleg Tsvinev
for you. > Otherwise your 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 her

Re: Cassandra in Multiple Datacenters Active - Standby configuration

2011-08-16 Thread Oleg Tsvinev
ug 15, 2011 at 1:39 PM, Oleg Tsvinev 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

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 w

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

Re: 8.0.1 Released - Debian Package ETA?

2011-06-28 Thread Oleg Tsvinev
t; > vs > > > http://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 > wrote: > > Nope, only see 0.8.0. I updated sources in Synaptic Pa

Re: 8.0.1 Released - Debian Package ETA?

2011-06-28 Thread Oleg Tsvinev
e, Jun 28, 2011 at 8:40 PM, Oleg Tsvinev wrote: > >> Thank you Dan! But I only see 0.8.0 there :( >> >> >> On Tue, Jun 28, 2011 at 5:35 PM, Dan Kuebrich wrote: >> >>> 0.8.1 should be up--I've already installed it. Here's directions: >>>

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 wrote: > 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, Ol

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: Cassandra 0.7.4 and LOCAL_QUORUM Consistency level

2011-04-19 Thread Oleg Tsvinev
lliam Oberman wrote: >> >>> Good point, should have read your message (and the code) more closely! >>> >>> Sent from my iPhone >>> >>> On Apr 19, 2011, at 9:16 PM, Oleg Tsvinev wrote: >>> >>>> I'm puzzled because code doe

Re: Cassandra 0.7.4 and LOCAL_QUORUM Consistency level

2011-04-19 Thread Oleg Tsvinev
sely! >> >> Sent from my iPhone >> >> On Apr 19, 2011, at 9:16 PM, Oleg Tsvinev wrote: >> >>> I'm puzzled because code does not even check for LOCAL_QUORUM before >>> throwing exception. >>> Indeed I did not configure NetworkTopologyStra

Re: Cassandra 0.7.4 and LOCAL_QUORUM Consistency level

2011-04-19 Thread Oleg Tsvinev
ed 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 > wrote: >> >> Earlier I've posted the same message to a hector-users list. >> >>

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 s

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 orig

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 wrote: > On Wed, Jan 12, 2011 at 11:39 AM, Oleg Tsvinev > wrote: > > I'm sending it from my GMail account. I'm opening a new topic, which > rules > > out t

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 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 o

Re: Why my posts are marked as spam?

2011-01-12 Thread Oleg Tsvinev
I'm sending it from my GMail account. I'm opening a new topic, which rules out top-posting. The message had mixed fonts in it, that might be a problem. Here's what I'm getting from GMail while sending the message in question: Technical details of permanent failure: Google tried to deliver your mes

Why my posts are marked as spam?

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

Cassandra 0.7.0 Release in Riptano public repository?

2011-01-10 Thread Oleg Tsvinev
Hi, http://cassandra.apache.org/download/ shows that "The latest stable release of Apache Cassandra is 0.7.0 (released on 2011-01-09). If you're just starting out, download this one." However, I don't see this version in Riptano public repository. The latest there is still 0.7.0-rc4. Is there

Re: CRUD test

2010-07-24 Thread Oleg Tsvinev
@gmail.com] > >> > Sent: Friday, July 23, 2010 1:49 PM > >> > To: user@cassandra.apache.org > >> > Subject: Re: CRUD test > >> > > >> > Correct. > >> > > >> > After the initial insert, > >> > > &g

Re: CRUD test

2010-07-23 Thread Oleg Tsvinev
rColumn == null) { > >System.out.println("Super Column is > NULL"); > > } > >else { > >showSuperColumnInfo(superColumn); > >} > > > >} > >

Re: CRUD test

2010-07-22 Thread Oleg Tsvinev
cannot be created again. On Jul 22, 2010 1:13 AM, "Colin Vipurs" 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 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 co