Re: Hector vs cassandra-java-client

2010-05-25 Thread Ran Tavory
cassandra-java-client is up to cassandra's 0.4.2 version, so you probably can't use it out of the box. Hector is active and up to the latest 0.6.1 release with a bunch of committers, contributors and users. See http://wiki.github.com/rantav/hector/ and http://groups.google.com/group/hector-users

RE: Hector vs cassandra-java-client

2010-05-25 Thread Dop Sun
A good chance to introduce my http://code.google.com/p/jassandra/ J Another Java client, and well, it cannot be found with Cassandra java client keywords. K From: Ran Tavory [mailto:ran...@gmail.com] Sent: Tuesday, May 25, 2010 2:52 PM To: user@cassandra.apache.org Subject: Re:

Re: Why Cassandra is space inefficient compared to MySQL?

2010-05-25 Thread sharanabasava raddi
Hi Cao, Thanks for your response. actually am using ReplicationFactor = 1. Thanks, Sharan 2010/5/25 casablinca126.com casabli...@126.com hi Sharan, what's the replication factor are you using ? regards, Cao Jiguang 2010-05-25 -- casablinca126.com

Re: Why Cassandra is space inefficient compared to MySQL?

2010-05-25 Thread Peter Schüller
Could you please tell me why? There might be pending sstable removals on disk, which won't happen until GC or restart. If you just did a bulk insert and checked diskspace immediately afterwards, I think this is a possible explanation. (See Write path on

Re: Why Cassandra is space inefficient compared to MySQL?

2010-05-25 Thread sharanabasava raddi
Hi Peter, Thanks a lot. Regards, Sharan 2010/5/25 Peter Schüller sc...@spotify.com Could you please tell me why? There might be pending sstable removals on disk, which won't happen until GC or restart. If you just did a bulk insert and checked diskspace immediately afterwards, I think

Error reporting Key cache hit rate with cfstats or with JMX

2010-05-25 Thread Ran Tavory
It seems there's an error reporting the Key cache hit rate. The value is always 0.0 and I have a feeling it's incorrect. This is seen both by using notetool cfstats as well as accessing JMX directly (org.apache.cassandra.db:type=Caches,keyspace=outbrain_kvdb,cache=KvAdsKeyCache RecentHitRate)

Cassandra configuration settings

2010-05-25 Thread sharanabasava raddi
Hi All, Could u please give configuration settings for single node(Windows machine), so that it must be time and space efficient. Thanks, Sharan

Re: Why are writes faster than reads?

2010-05-25 Thread Mark Greene
I'm fairly certain the write path hits the commit log first, then the memtable. 2010/5/25 Peter Schüller sc...@spotify.com I have seen several off-hand mentions that writes are inherently faster than reads. Why is this so? I believe the primary factor people are referring to is that

Re: Why are writes faster than reads?

2010-05-25 Thread Peter Schüller
I'm fairly certain the write path hits the commit log first, then the memtable. I didn't mean to imply an ordering between the two (I probably should not have said memtable plus commit log...), and yes I believe so. -- / Peter Schuller aka scode

Re: Error reporting Key cache hit rate with cfstats or with JMX

2010-05-25 Thread Jonathan Ellis
What happens if you disable row cache? On Tue, May 25, 2010 at 4:53 AM, Ran Tavory ran...@gmail.com wrote: It seems there's an error reporting the Key cache hit rate. The value is always 0.0 and I have a feeling it's incorrect. This is seen both by using notetool cfstats as well as accessing

Re: Problem accessing Cassandra wiki top page with browser locale other than english

2010-05-25 Thread Jonathan Ellis
Turns out this is a bug in the version of MoinMoin the ASF has installed. There's nothing we can do until the infrastructure team upgrades: https://issues.apache.org/jira/browse/INFRA-2741 On Sun, May 23, 2010 at 10:09 PM, Yuki Morishita mor.y...@gmail.com wrote: Hi all, I'm currently working

Re: get() with TTL update?

2010-05-25 Thread Vick Khera
On Mon, May 24, 2010 at 4:53 PM, Jonathan Ellis jbel...@gmail.com wrote: (a) cassandra does not use update-in-place storage so doing the update as part of the get call isn't much of an efficiency gain If you could issue an update type of command, any other data needed for the new copy of the

Re: Nunit Testing Cassandra

2010-05-25 Thread Miguel Verde
My guess is that it is using object equality to compare. One thing to test would be to create two KeySlices whose contents had the same values, add them to separate lists, and then compare the lists. I think you'll find that they are not 'equivalent'. On May 25, 2010, at 10:00 AM,

high-scale-lib clhm-production jars

2010-05-25 Thread Carlos Sanchez
Do anyone know if there are repositories for high-scale-lib clhm-production jars? Is the source available somewhere? Thanks Carlos This email message and any attachments are for the sole use of the intended recipients and may contain proprietary and/or confidential information which may be

Re: high-scale-lib clhm-production jars

2010-05-25 Thread Tobias Jungen
High-scale-lib: http://sourceforge.net/projects/high-scale-lib/ CLHM: http://code.google.com/p/concurrentlinkedhashmap/ On Tue, May 25, 2010 at 10:17 AM, Carlos Sanchez carlos.sanc...@riskmetrics.com wrote: Do anyone know if there are repositories for high-scale-lib clhm-production jars? Is

Panasas and Cassandra

2010-05-25 Thread Fernanda Foertter
Hi everyone, So we have Panasas (http://www.panasas.com), and want to avoid local drives. Because panasas has its own redundancy and cache, Can I set RF=1? If so, can you think of any reason why we shouldn¹t use panasas? Thanks in advance ŒFernie¹

RE: high-scale-lib clhm-production jars

2010-05-25 Thread Carlos Sanchez
Thanks a lot From: Tobias Jungen [mailto:tobias.jun...@gmail.com] Sent: Tuesday, May 25, 2010 10:56 AM To: user@cassandra.apache.org Subject: Re: high-scale-lib clhm-production jars High-scale-lib: http://sourceforge.net/projects/high-scale-lib/ CLHM:

Re: Why are writes faster than reads?

2010-05-25 Thread Tatu Saloranta
On Tue, May 25, 2010 at 4:04 AM, Mark Greene green...@gmail.com wrote: I'm fairly certain the write path hits the commit log first, then the memtable. True, but that does not make them any less sequential -- journal logs are strictly sequential fast writes. Actual ordering occurs in memory, and

Re: Panasas and Cassandra

2010-05-25 Thread Ryan King
On Tue, May 25, 2010 at 9:06 AM, Fernanda Foertter fernanda.foert...@pic.com wrote: Hi everyone, So we have Panasas (http://www.panasas.com), and want to avoid local drives.  Because panasas has its own redundancy and cache, Can I set RF=1?  If so, can you think of any reason why we shouldn’t

Re: Why Cassandra is space inefficient compared to MySQL?

2010-05-25 Thread Ryan King
Also, timestamps for each column. -ryan On Tue, May 25, 2010 at 5:41 AM, Jonathan Ellis jbel...@gmail.com wrote: That's true.  But fundamentally Cassandra is expected to use more space than mysql for a few reasons; usually the biggest factor is that Cassandra has to write out each column name

Re: Key cache capacity: 1 when using KeysCached=50%

2010-05-25 Thread Ran Tavory
https://issues.apache.org/jira/browse/CASSANDRA-1129 On Tue, May 25, 2010 at 3:42 PM, Jonathan Ellis jbel...@gmail.com wrote: That does look like a bug. Can you create a ticket and upload a (preferably small-ish) sstable that illustrates the problem? On Mon, May 24, 2010 at 12:07 PM, Ran

Re: Why Cassandra is space inefficient compared to MySQL?

2010-05-25 Thread Chris Goffinet
My money is on the fact that the serializer is just horribly verbose. It's using a basic set of the java serializer. -Chris On Tue, May 25, 2010 at 10:02 AM, Ryan King r...@twitter.com wrote: Also, timestamps for each column. -ryan On Tue, May 25, 2010 at 5:41 AM, Jonathan Ellis

Re: Anyone using hadoop/MapReduce integration currently?

2010-05-25 Thread Utku Can Topçu
Hi Jeremy, Why are you using Cassandra versus using data stored in HDFS or HBase? - I'm thinking of using it for realtime streaming of user data. While streaming the requests, I'm also using Lucandra for indexing the data in realtime. It's a better option when you compare it with HBase or the

Re: Why Cassandra is space inefficient compared to MySQL?

2010-05-25 Thread Jonathan Ellis
the only place we use a java serializer is for the BitSet in bloom filters. On Tue, May 25, 2010 at 12:37 PM, Chris Goffinet goffi...@digg.com wrote: My money is on the fact that the serializer is just horribly verbose. It's using a basic set of the java serializer. -Chris On Tue, May 25,

Re: Panasas and Cassandra

2010-05-25 Thread Fernanda Foertter
Two reasons: Do a single node test of large file read/write without having to purchase additional hard rives at the moment. Benefit from I/O Panasas delivers that I can't get from local drives... Keeping the data local, for easier loading. On 5/25/10 11:58 AM, Ryan King r...@twitter.com

Re: Why Cassandra is space inefficient compared to MySQL?

2010-05-25 Thread Robert Edmonds
On 2010-05-25, Jonathan Ellis jbel...@gmail.com wrote: That's true. But fundamentally Cassandra is expected to use more space than mysql for a few reasons; usually the biggest factor is that Cassandra has to write out each column name in each row, since column names are dynamic unlike in

Hector samples -- where?

2010-05-25 Thread Asaf Lahav
Hi, Where can I find Hector code samples?

Re: Hector samples -- where?

2010-05-25 Thread Ran Tavory
http://wiki.github.com/rantav/hector/examples On May 25, 2010 10:43 PM, Asaf Lahav asaf.la...@gmail.com wrote: Hi, Where can I find Hector code samples?

Re: Hector vs cassandra-java-client

2010-05-25 Thread Maxim Kramarenko
Hello I've used jassandra, works fine and easy for use. On 25.05.2010 06:21, Peter Hsu wrote: Hi All, This may have been answered already, but I did a [quick] Google search and didn't find much. Which is the better Java client to use? Hector or cassandra-java-client or neither? it seems

Re: Hector samples -- where?

2010-05-25 Thread Bill de hOra
Are there examples of inserting multiple cols into a CF anywhere? Bill Ran Tavory wrote: http://wiki.github.com/rantav/hector/examples On May 25, 2010 10:43 PM, Asaf Lahav asaf.la...@gmail.com mailto:asaf.la...@gmail.com wrote: Hi, Where can I find Hector code samples?

GMFD messages

2010-05-25 Thread Anthony Molinaro
Hi, I just noticed I have lots of these messages INFO [GMFD:1] 2010-05-25 23:21:04,070 GossipDigestSynMessage.java (line 152) Remaining bytes zero. Stopping deserialization in EndPointState. INFO [GMFD:1] 2010-05-25 23:21:05,224 GossipDigestSynMessage.java (line 129) Breaking out to

Order Preserving Partitioner

2010-05-25 Thread Steve Lihn
I have a question on using Order Preserving Partitioner. Many rowKeys in my system will be related to dates, so it seems natural to use Order Preserving Partitioner instead of the default Random Partitioner. However, I have been warned that special attention has to be applied for Order Preserving

Re: Problem accessing Cassandra wiki top page with browser locale other than english

2010-05-25 Thread Yuki Morishita
Jonathan, Thanks for reporting an issue. I will wait and see. 2010年5月25日23:29 Jonathan Ellis jbel...@gmail.com: Turns out this is a bug in the version of MoinMoin the ASF has installed.  There's nothing we can do until the infrastructure team upgrades:

Cassandra-0.6.1 Crash Error: out of memory

2010-05-25 Thread Peng Guo
Hi There are 3 Cassandra servcer runing, and 18 process insert lots of data into the Cassandra servcer. After runing for an hour the Cassandra servcer crashed. The error msg is below: INFO [GC inspection] 2010-05-26 00:56:50,153 GCInspector.java (line 110) GC for ConcurrentMarkSweep: 7764

Re: RE: Hector samples -- where?

2010-05-25 Thread Ran Tavory
The best examples are in KeyspaceTest but don't include all scenarios On May 26, 2010 2:27 AM, Nicholas Sun nick@raytheon.com wrote: I am also interested in this. It seems like adding multiple Cols into a CF or SuperCols would be very useful. Like a dataload type capability? Nick

RE: RE: Hector samples -- where?

2010-05-25 Thread Nicholas Sun
Could you please provide some indication as to their location? Thanks. Nick From: Ran Tavory [mailto:ran...@gmail.com] Sent: Tuesday, May 25, 2010 9:15 PM To: user@cassandra.apache.org Subject: Re: RE: Hector samples -- where? The best examples are in KeyspaceTest but don't include

RE: RE: Hector samples -- where?

2010-05-25 Thread Nicholas Sun
Thanks All, I found it here: http://code.google.com/p/cassandra-java-client/source/browse/trunk/src/test/java/org/yosemite/jcsadra/impl/KeySpaceTest.java?r=50 I’m actually fairly new to OSS, but I wanted to really dig into the software here. So far, so good. Nick