monitoring cassandra with JMX

2011-05-24 Thread vineet daniel
Hi I have just written a little note on how to monitor cassandra... http://vineetdaniel.me/2011/03/26/monitoring-cassandra-with-jmx/ I hope it helps the community. Regards Vineet Daniel Cell : +918106217121 Websites : Blog <http://vineetdaniel.blogspot.com> | Linkedi

Re: Central monitoring of Cassandra cluster

2011-03-24 Thread vineet daniel
...in process of using nagios to monitor three servers. Will post updates shortly. Regards Vineet Daniel Cell : +918106217121 Websites : Blog <http://vineetdaniel.blogspot.com> | Linkedin<http://in.linkedin.com/in/vineetdaniel> | Twitter <https://twitter.com/vineetdan

Re: "Internal error processing get" in get after insert ttl -

2010-09-23 Thread vineet daniel
Hi I was using 'access_logs' as column family name changed it to Accesslogs and it worked. May be cassandra doesn't like underscores and small letters. Regards Vineet Daniel Cell : +918106217121 Websites : Blog <http://vinetedaniel.blogspot.com> | Linkedin<h

Re: "Internal error processing get" in get after insert ttl -

2010-09-23 Thread vineet daniel
) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Regards Vineet Daniel Cell : +918106217121 Websites : Blog <http://vinetedaniel.blogspot.com> | Linkedin<http://in.linkedin.com/in/vin

Re: Schema question

2010-09-20 Thread vineet daniel
x27;read' and mark original for deletion. Regards Vineet Daniel Cell : +918106217121 Websites : Blog <http://vinetedaniel.blogspot.com> | Linkedin<http://in.linkedin.com/in/vineetdaniel> | Twitter <https://twitter.com/vineetdaniel> On Mon, Sep 20, 2010 at 3:35 PM,

Re: 0.7 memory usage problem

2010-09-18 Thread vineet daniel
may be creating processes/threads again will consume more memory than having idle threads. Regards Vineet Daniel Cell : +918106217121 Websites : Blog <http://vinetedaniel.blogspot.com> | Linkedin<http://in.linkedin.com/in/vineetdaniel> | Twitter <https://twitter.com/vineet

Re: 0.7 memory usage problem

2010-09-18 Thread vineet daniel
n it as is, as soon as I downloaded). No inserts done, no selects done nothing. I don't think this is normal. In anticipation of feedbacks on this. Regards Vineet Daniel Cell : +918106217121 Websites : Blog <http://vinetedaniel.blogspot.com> | Linkedin<http://in.link

Re: Bootstrapping stays stuck

2010-09-14 Thread vineet daniel
Hi Gurpreet What is the output of nodetool -h streams -->( to see what is going on between the nodes) . If you dont see anything happening try switching off firewall or iptables. Regards Vineet Daniel Cell : +918106217121 Websites : Blog <http://vinetedaniel.blogsp

Re: Capping the memory limit in cassandra

2010-09-07 Thread vineet daniel
Hi When is this happening I mean is Cassandra idle or application is inserting/reading values from it .are you running any map/reduce job at that time. Regards Vineet Daniel Cell : +918106217121 Websites : Blog <http://vinetedaniel.blogspot.com> | Linkedin<http://in.lin

servers for cassandra

2010-09-03 Thread vineet daniel
not even pay-as-you go types. I'd really appreciate if anybody can share information on such hosting providers. Vineet Daniel Cell : +918106217121 Websites : Blog <http://vinetedaniel.blogspot.com> | Linkedin<http://in.linkedin.com/in/vineetdaniel> | Twitter <

Re: 4k keyspaces... Maybe we're doing it wrong?

2010-09-03 Thread vineet daniel
If I am correct than you need to restart cassandra whenever you adding a new KeySpace. Thats another concern. Vineet Daniel Cell : +91-8106217121 Websites : Blog <http://vinetedaniel.blogspot.com> | Linkedin<http://in.linkedin.com/in/vineetdaniel> | Twitter <http

Re: Looking for something like "like" of mysql.

2010-09-02 Thread vineet daniel
. ___ Regards Vineet Daniel +918106217121 ___ Let your email find you On Thu, Sep 2, 2010 at 10:00 PM, Mike Peters wrote: > Cassandra doesn't support adhoc queries, like what you're describing > > I recommend looking at Lucandra

Re: about insert benchmark

2010-09-01 Thread vineet daniel
ts on getting better results :-) . ___ Regards Vineet Daniel +918106217121 ___ Let your email find you On Thu, Sep 2, 2010 at 11:39 AM, ChingShen wrote: > Hi all, > > I run a benchmark with my own code and found t

Re: Riptano Cassandra training in Denver

2010-09-01 Thread vineet daniel
Hi Jonathan Any plans of coming to India in future ? ___ Regards Vineet Daniel +918106217121 ___ Let your email find you On Thu, Sep 2, 2010 at 1:52 AM, Jonathan Ellis wrote: > Riptano is going to be in Denver n

release date for 0.7 ?

2010-05-08 Thread vineet daniel
Hi What is the expected release date for 0.7 and what will be the feature specifications for it ? ___ Vineet Daniel ___ Let your email find you

Re: Data Modeling Conundrum

2010-05-07 Thread vineet daniel
Query : Why are you sorting AFAIK cassandra sorts the keys by itself if you are using ordered partitioning. And how do you store data pertaining to single user but having several GUID's to attach with. ___ Vineet D

Re: bloom filter

2010-05-07 Thread vineet daniel
w some more light on your point, like what are the implications, why do we need to identify etc. _______ Vineet Daniel ___ Let your email find you On Fri, May 7, 2010 at 4:28 PM, David Strauss wrote: > On 2010-05-07 10:5

Re: bloom filter

2010-05-07 Thread vineet daniel
Thanks David and Peter. Is there any way to view the content of this file. ___ Vineet Daniel ___ Let your email find you On Fri, May 7, 2010 at 4:24 PM, David Strauss wrote: > On 2010-05-07 10:51, vineet daniel wr

bloom filter

2010-05-07 Thread vineet daniel
Hi what is the benefit of creating bloom filter when cassandra writes data, how does it helps ? ___ Vineet Daniel ___ Let your email find you

Re: why is streaming done in 32 MB chunks ?

2010-05-06 Thread vineet daniel
Nice one, anyways who cares about windows and gates, when the world is open (source) ;-). ___ Vineet Daniel ___ Let your email find you On Thu, May 6, 2010 at 6:24 PM, Gary Dusbabek wrote: > 64 MB gave Wind

why is streaming done in 32 MB chunks ?

2010-05-06 Thread vineet daniel
Hi Just out of curiosity want to know why streaming is done with 32MB chunks and not with 16 or 64 MB chunks. Any specific reasons behind 32 MB or its just like that ? ___ Vineet Daniel ___ Let your email find you

Re: Cassandra Streaming Service

2010-05-06 Thread vineet daniel
For more details have a look here : http://wiki.apache.org/cassandra/Streaming ___ Vineet Daniel ___ Let your email find you On Wed, May 5, 2010 at 9:34 PM, Weijun Li wrote: > Thank you Jonathan! Good to k

Re: how to fetch latest data

2010-05-04 Thread vineet daniel
If R + W > N, where R, W, and N are respectively the read replica count, the write replica count, and the replication factor, all client reads will see the most recent write. On Tue, May 4, 2010 at 4:39 PM, vineet daniel wrote: > Hi > > In a cluster of cassandra if we are updating a

how to fetch latest data

2010-05-04 Thread vineet daniel
is more irrelevant. Regards Vineet Daniel

Re: Design Query

2010-05-04 Thread vineet daniel
As you havent specified all the details pertaining to filters and your data layout (structure) at a very high level what i can suggest is that you need to create a seperate CF for each filter. On Sat, May 1, 2010 at 5:04 PM, Rakesh Rajan wrote: > I am evaluating cassandra to implement activity

Re: How do you, Bloom filter of the false positive rate or remove the problem of distributed databases?

2010-05-04 Thread vineet daniel
Reduce GCGraceSeconds in storage.conf, that should work. On Tue, May 4, 2010 at 2:31 PM, vineet daniel wrote: > Only major compactions can clean out obsolete tombstones. > > On Tue, May 4, 2010 at 9:59 AM, Jonathan Ellis wrote: > >> On Mon, May 3, 2010 at 8:45 PM, Kauzki

Re: How do you, Bloom filter of the false positive rate or remove the problem of distributed databases?

2010-05-04 Thread vineet daniel
Only major compactions can clean out obsolete tombstones. On Tue, May 4, 2010 at 9:59 AM, Jonathan Ellis wrote: > On Mon, May 3, 2010 at 8:45 PM, Kauzki Aranami > wrote: > > Let me rephrase my question. > > > > How does Cassandra deal with bloom filter's false positives on deleted > records? >

can we have duplicate keys ?

2010-04-29 Thread vineet daniel
Hi Can anyone please tell me if we can have duplicate keys in Super Column Family, if now how can we represent this : - Article and Category Mapping clientOne.insert(:ArticleCategory, "12", {"ArticleID" => "123"}) "12", {"ArticleID" => "124"})

Re: frequent "unknown result" errors

2010-04-12 Thread vineet daniel
can you post the code On Mon, Apr 12, 2010 at 9:22 PM, Lee Parker wrote: > According to his docs, he says you need Cassandra >= 0.5.0. I guess it is > possible that the included thrift files are targeted at 0.6, but I don't see > the "batch_mutate" method which is part of 0.6. So I'm assuming

Re: compare cassandra read n write results

2010-04-12 Thread vineet daniel
by > Cassandra or Pandra if you do not have raw Cassandra performance > numbers for your setup? > > On Mon, Apr 12, 2010 at 5:51 AM, vineet daniel > wrote: > > I dont think it would be a good idea not to use pandra for benchmarks as > we > > are going to use pandra for o

Re: compare cassandra read n write results

2010-04-12 Thread vineet daniel
and not by Canssandra. > I recommend using 2 boxes if possible, one for running the benchmark tool > against the other which will run Cassandra (both boxes have to be in the > same LAN). > > On Mon, Apr 12, 2010 at 1:55 PM, vineet daniel wrote: > >> Hi >> >> A little w

compare cassandra read n write results

2010-04-12 Thread vineet daniel
tests can you please share or tell whether this can be improved or not. I am using default configuration of cassandra and its a single node setup. Thanks Vineet Daniel

Re: How to perform queries on Cassandra?

2010-04-11 Thread vineet daniel
{1:0, 2:0} > > Note that since we don't care about the values in the UsernameIndex, > they are just set to 0. You can stash data here, if you like, but it > can mean more overhead in maintaining data synchronization between the > raw data and the index data. To perform your

Re: How to perform queries on Cassandra?

2010-04-11 Thread vineet daniel
data model and > about how we are explaining it is best used. > > On Sun, Apr 11, 2010 at 11:37 AM, vineet daniel > wrote: > > Well my initial idea is to use value as column name, keeping key as an > > incremental integer. The discussion after each mail has drifted from thi

Re: How to perform queries on Cassandra?

2010-04-11 Thread vineet daniel
s themselves as indices, > which refer to a set of actually unique identifiers for users. > > On Sun, Apr 11, 2010 at 11:12 AM, vineet daniel > wrote: > > its not a problem its a scenario, which we need to handle. And all I am > > trying to do is to achieve what is not there

Re: How to perform queries on Cassandra?

2010-04-11 Thread vineet daniel
roblem. > > On Sun, Apr 11, 2010 at 6:12 AM, vineet daniel > wrote: > > How to handle same usernames. Otherwise seems fine to me. > > > > On Sun, Apr 11, 2010 at 6:17 PM, Dop Sun wrote: > >> > >> Hi, > >> > >> > >> &g

Re: How to perform queries on Cassandra?

2010-04-11 Thread vineet daniel
How to handle same usernames. Otherwise seems fine to me. On Sun, Apr 11, 2010 at 6:17 PM, Dop Sun wrote: > Hi, > > > > As far as I can see it, the Cassandra API currently supports criterias on: > > Token – Key – Super Column Name (if applicable) - Column Names > > > > I guess Token is not usua