Re: Re: wo did some test on cassandra ,but the result puzzled us

2010-03-12 Thread Jonathan Ellis
, data.getBytes(UTF-8)), data,timestamp, ConsistencyLevel.ONE); totalSWriteTime += (System.currentTimeMillis() - start); if(i % 1 == 0){ System.out.println(Has write + i); } } is there something wrong? 2010-03-12 Bingbing Liu 发件人: Jonathan Ellis 发送时间: 2010-03-12 13:40:40 收件

Re: Cassandra Demo/Tutorial Applications

2010-03-12 Thread Jonathan Ellis
On Fri, Mar 12, 2010 at 1:55 PM, Krishna Sankar ksanka...@gmail.com wrote: I was looking at this from CASSANDRA-873 as well as hands-on homework (!) for my OSCON tutorial. Have couple of questions. Would appreciate insights: A)  Cassandra-873 suggests Luenandra as one demo application B)  Are

Re: Cassandra Demo/Tutorial Applications

2010-03-12 Thread Jonathan Ellis
extracted out --- Sent from my phone Ian Holsman - 703 879-3128 On 13/03/2010, at 4:46 PM, Jonathan Ellis jbel...@gmail.com wrote: On Fri, Mar 12, 2010 at 1:55 PM, Krishna Sankar ksanka...@gmail.com wrote: I was looking at this from CASSANDRA-873 as well as hands-on homework (!) for my

Re: wo did some test on cassandra ,but the result puzzled us

2010-03-11 Thread Jonathan Ellis
why reads are slower than writes: http://wiki.apache.org/cassandra/FAQ#reads_slower_writes no idea on seq vs random. i would not be surprised if there is a bug in your test code. On Fri, Mar 12, 2010 at 12:36 AM, Bingbing Liu rucb...@gmail.com wrote: We did some test on on Cassandra, and the

Re: how to do the filter in cassanda?

2010-03-09 Thread Jonathan Ellis
If you mean WHERE clause-like filtering, that's always done client side right now. On Tue, Mar 9, 2010 at 1:00 AM, Bingbing Liu rucb...@gmail.com wrote: hi, i mean when cassandra get data from the file system of each node (in other words, read data from file) does the filtering condition

Re: Further enhancments in j.a.c.auth

2010-03-09 Thread Jonathan Ellis
We should probably use http://www.mindrot.org/projects/jBCrypt/. (Lots of background: http://chargen.matasano.com/chargen/2007/9/7/enough-with-the-rainbow-tables-what-you-need-to-know-about-s.html) We kind of have a nagging feeling though that rolling our own auth framework in 2010 is the wrong

Re: seqid_ in Cassandra.Client

2010-03-02 Thread Jonathan Ellis
is headed? Thanks, david -Original Message- From: Jonathan Ellis [mailto:jbel...@gmail.com] Sent: Tuesday, March 02, 2010 10:02 AM To: cassandra-dev@incubator.apache.org Subject: Re: seqid_ in Cassandra.Client org.apache.cassandra.thrift.* (in 0.6) or .service (in 0.5) is autogenerated

Re: thinking about dropping hinted handoff

2010-02-23 Thread Jonathan Ellis
no. 2010/2/23 Ted Zlatanov t...@lifelogs.com: On Mon, 22 Feb 2010 21:12:58 +0100 Peter Schüller sc...@spotify.com wrote: PS In general, what are people's thoughts on the appropriate mechanism to PS gain confidence that the cluster as a whole is reasonably consistent? PS In particular in

Re: Tests ... large-volume, long-running, failure-case

2010-02-23 Thread Jonathan Ellis
contrib/py_stress is our standard performance tool. I think contrib/ is only in the source distro. On Tue, Feb 23, 2010 at 2:47 PM, Masood Mortazavi masoodmortaz...@gmail.com wrote: Hi folks, Besides the regression tests described in How to Contribute, are there performance,

Re: thinking about dropping hinted handoff

2010-02-23 Thread Jonathan Ellis
2010/2/23 Ted Zlatanov t...@lifelogs.com: Can a Cassandra node be made read-only (as far as clients know)? JE no. Is there value (for reaching consistency) in adding that functionality? No. Thanks for the easy questions today. :) -Jonathan

Re: thinking about dropping hinted handoff

2010-02-23 Thread Jonathan Ellis
2010/2/23 Ted Zlatanov t...@lifelogs.com: You're welcome.  I don't understand why it doesn't help reach consistency, though.  If you turn all the nodes in a cluster read-only at the API level, what can make them inconsistent besides inter-node traffic and scheduled writes?  I'd assume that

Re: thinking about dropping hinted handoff

2010-02-22 Thread Jonathan Ellis
On Mon, Feb 22, 2010 at 1:53 PM, Ryan King r...@twitter.com wrote: So, after having some more experience with HH, I've reformed my opinion. I think we have 3 options: 1. Make the natural endpoints responsible for the hints. 2. Make a random node responsible for hints. 3. Get rid of HH. #1

Re: thinking about dropping hinted handoff

2010-02-22 Thread Jonathan Ellis
On Mon, Feb 22, 2010 at 6:57 PM, Ryan King r...@twitter.com wrote: I think I find it more compelling because we're currently experiencing pain related to HH. I'd be ok with keeping it as long as we can make the effects of a node down be less drastic. Can you open a ticket and tag it 0.6? I

http://wiki.apache.org/cassandra/Improving%20Initial%20User%20Experiance

2010-02-21 Thread Jonathan Ellis
shouldn't a list of to-dos be in jira?

Re: Building Cassandra from Behind a Proxy

2010-02-19 Thread Jonathan Ellis
Can you add this to http://wiki.apache.org/cassandra/HowToContribute ? (that page looks like it could use a little refactoring) On Thu, Feb 18, 2010 at 5:21 PM, Gary Dusbabek gdusba...@gmail.com wrote: I found this: set ANT_OPTS=-Dhttp.proxyHost=myproxy -Dhttp.proxyPort=3128 from here:  

Re: 0.6, 0.7, and the future

2010-02-18 Thread Jonathan Ellis
On Thu, Feb 18, 2010 at 2:49 PM, Ryan King r...@twitter.com wrote: On Thu, Feb 18, 2010 at 11:45 AM, Anthony Molinaro antho...@alumni.caltech.edu wrote: +1 (although I'm dreading the export from old sstables into new sstables, any ideas on how fast that might be?, and I guess any idea if a

0.6, 0.7, and the future

2010-02-17 Thread Jonathan Ellis
We're looking at branching 0.6 today and starting 0.7 work. 0.6 shaped up to be a really nice follow-up to 0.5, where we improved just about everything while keeping the upgrade path super easy. (We changed the network around again, but no disk changes, so it's just going to be

Re: loadbalance and different strategies

2010-02-09 Thread Jonathan Ellis
On Tue, Feb 9, 2010 at 3:13 AM, Jaakko rosvopaalli...@gmail.com wrote: What they probably should do, is to just consider nodes in the DC they are booting to, and try to balance load evenly in that DC. I'm not sure what problem that would solve. It seems to me there are two goals: 1. don't

Re: loadbalance and different strategies

2010-02-09 Thread Jonathan Ellis
On Tue, Feb 9, 2010 at 6:12 PM, Jaakko rosvopaalli...@gmail.com wrote: Let us suppose that all ranges are equal in size. In this case G's range is A-G. If X boots in G's DC, it should take a token in the middle of this range, which would be somewhere around D. If X boots behind D Ah, I see,

Re: loadbalance and different strategies

2010-02-09 Thread Jonathan Ellis
On Tue, Feb 9, 2010 at 9:45 PM, Jonathan Ellis jbel...@gmail.com wrote: That seems reasonable, although it feels a little weird for X to as G for a token and be given one that G isn't the primary for. for X to ask* G

Re: nose tests -- run recently?

2010-02-08 Thread Jonathan Ellis
On Mon, Feb 8, 2010 at 3:17 AM, Jack Culpepper jackculpep...@gmail.com wrote: Ok. Fixed that, but then run nosetests and I get a bunch of other errors.. I must be doing something wrong. I just checked out the code like 20 mins ago. I'm going to have to agree with your diagnosis -- everything

Re: nose tests -- run recently?

2010-02-08 Thread Jonathan Ellis
On Mon, Feb 8, 2010 at 3:02 PM, Jack Culpepper jackculpep...@gmail.com wrote: On Mon, Feb 8, 2010 at 12:38 PM, Jonathan Ellis jbel...@gmail.com wrote: On Mon, Feb 8, 2010 at 2:25 PM, Jack Culpepper jackculpep...@gmail.com wrote: Are you running on a platform that doesn't care about

Re: nose tests -- run recently?

2010-02-08 Thread Jonathan Ellis
On Mon, Feb 8, 2010 at 3:53 PM, Jack Culpepper jackculpep...@gmail.com wrote: $ python --version Python 2.6.4 2.6.4 here, too. One more stupid question if you can stand it: when I get Connection reset by peer on the python side, where should I see the corresponding error on the java side?

Re: get_range_slice() tester

2010-02-08 Thread Jonathan Ellis
I'm seeing failures on 0.5 but success against trunk, is that also what you see? -Jonathan On Mon, Feb 8, 2010 at 4:42 PM, Jack Culpepper jackculpep...@gmail.com wrote: On Mon, Feb 8, 2010 at 2:34 PM, Jonathan Ellis jbel...@gmail.com wrote: This is supposed to pass on a single node but fail

Re: batch file error on vista

2010-02-04 Thread Jonathan Ellis
The existing batch file works fine for me on windows 7. So does Tom's, modified to not hardcode stuff it shouldn't. (attached, w/ name mangling to make gmail happy). Can anyone test this on XP? If the code we're removing to shorten lib path for older platforms is required for XP we should

Re: column sizes (was: online codes (?))

2010-02-03 Thread Jonathan Ellis
On Thu, Feb 4, 2010 at 8:28 AM, Jonathan Ellis jbel...@gmail.com wrote: On Wed, Feb 3, 2010 at 4:25 PM, Michael Pearson mjpear...@gmail.com wrote: I'd imagine the gossip overhead and key/column per disk limitation is too open for abuse to recommend storing lob columns with any level

Re: bitmap slices

2010-02-03 Thread Jonathan Ellis
problem for you? -Jonathan 2010/2/3 Ted Zlatanov t...@lifelogs.com: On Mon, 1 Feb 2010 11:14:12 -0600 Jonathan Ellis jbel...@gmail.com wrote: JE 2010/2/1 Ted Zlatanov t...@lifelogs.com: On Mon, 1 Feb 2010 10:41:28 -0600 Jonathan Ellis jbel...@gmail.com wrote: JE I don't think this is very useful

Re: online codes (?)

2010-02-02 Thread Jonathan Ellis
On Tue, Feb 2, 2010 at 9:05 PM, Anthony Di Franco di.fra...@aya.yale.edu wrote: Taking the discussion below to the dev list. Continuing the discussion, it seems to me that objects in Cassandra might be quite large from this passage: You've misunderstood. The atom in cassandra is a single

Re: bitmap slices

2010-02-01 Thread Jonathan Ellis
how would this be different then the byte[] column name you can already match on? 2010/2/1 Ted Zlatanov t...@lifelogs.com: On Fri, 29 Jan 2010 15:07:01 -0600 Ted Zlatanov t...@lifelogs.com wrote: TZ On Fri, 29 Jan 2010 12:06:28 -0600 Jonathan Ellis jbel...@gmail.com wrote: JE On Fri, Jan 29

Re: bitmap slices

2010-02-01 Thread Jonathan Ellis
I don't think this is very useful for column names. I could see it being useful for values but if we're going to add predicate queries then I'd rather do something more general. 2010/2/1 Ted Zlatanov t...@lifelogs.com: On Mon, 1 Feb 2010 09:42:16 -0600 Jonathan Ellis jbel...@gmail.com wrote

Re: bitmap slices

2010-02-01 Thread Jonathan Ellis
2010/2/1 Ted Zlatanov t...@lifelogs.com: On Mon, 1 Feb 2010 10:41:28 -0600 Jonathan Ellis jbel...@gmail.com wrote: JE I don't think this is very useful for column names.  I could see it JE being useful for values but if we're going to add predicate queries JE then I'd rather do something more

Re: predicate queries (was: bitmap slices)

2010-02-01 Thread Jonathan Ellis
2010/2/1 Ted Zlatanov t...@lifelogs.com: My list of things I need for predicate queries across column and supercolumn names: - bitmask (OR AND1 AND2 AND3 ...).  This would make my life easier and  take load off our Cassandra servers.  Currently I have to scan the  result sets on the client

Re: Understand how to provision nodes and use cassandra in the production

2010-01-30 Thread Jonathan Ellis
the thing that will help most in 0.5 is to increase your KeysCachedFraction to 0.2 or even more, depending on your workload. On Sat, Jan 30, 2010 at 5:23 AM, Suhail Doshi digitalwarf...@gmail.com wrote: An issue I've been seeing is it's really hard to scale Cassandra with reads. I've run top,

Re: Understand how to provision nodes and use cassandra in the production

2010-01-30 Thread Jonathan Ellis
KeysCachedFraction value? Suhail On Sat, Jan 30, 2010 at 5:58 AM, Jonathan Ellis jbel...@gmail.com wrote: the thing that will help most in 0.5 is to increase your KeysCachedFraction to 0.2 or even more, depending on your workload. On Sat, Jan 30, 2010 at 5:23 AM, Suhail Doshi digitalwarf

Re: EOFException after upgrading to 0.5.0

2010-01-28 Thread Jonathan Ellis
please read NEWS.txt, both of your problems are covered there (flush your commitlog, and don't mix 0.4 and 0.5 nodes in the same cluster) On Thu, Jan 28, 2010 at 6:44 AM, B R software.research.w...@gmail.com wrote: Hi guys, We are in the process of upgrading from Cassandra 0.4.2 to 0.5.0 The

Re: How to write insert query in Cassandra

2010-01-28 Thread Jonathan Ellis
i believe cassandra_browser in contrib/ can do inserts with a gui, but it's nowhere near as mature as what you would see for mysql. you will also want to read http://wiki.apache.org/cassandra/API and http://wiki.apache.org/cassandra/ClientExamples and probably

Re: Understand how to provision nodes and use cassandra in the production

2010-01-28 Thread Jonathan Ellis
On Thu, Jan 28, 2010 at 9:23 PM, Suhail Doshi suh...@mixpanel.com wrote: We've started to use Cassandra in production and just have one node right now. Here's one of our ColumnFamilys: 16G Jan 28 22:28 SomeIndex-5467-Index.db 196M Jan 28 22:32 SomeIndex-5487-Index.db The first bottle neck

Re: Help regarding cassandra

2010-01-27 Thread Jonathan Ellis
Cassandra supports clusters spanning multiple data centers (see RackAwareStrategy and contrib/property_snitch), but not replication between distinct clusters. On Wed, Jan 27, 2010 at 9:36 AM, Mehar Chaitanya meharchaita...@gmail.com wrote: Hi All I was done with installing cassandra and

Re: Hint storage format.

2010-01-27 Thread Jonathan Ellis
On Wed, Jan 27, 2010 at 10:03 AM, Gary Dusbabek gdusba...@gmail.com wrote: The context of this discussion comes from CASSANDRA-293. Since it relies on keys, current hinted handoff scheme isn't going to work for when a range-remove operation needs to be hinted for a downed node. The idea I'm

thinking about dropping hinted handoff

2010-01-27 Thread Jonathan Ellis
While being able to write (with CL.ZERO or new-in-0.6 ANY) even if all the real write targets are down is cool, but since your goal in real life is to keep enough replicas alive that you can actually do reads, I'm not sure how useful it is. HH also has a measurable performance problem in small

Re: cassandra : How to handle joins

2010-01-27 Thread Jonathan Ellis
Have you read http://arin.me/code/wtf-is-a-supercolumn-cassandra-data-model ? On Wed, Jan 27, 2010 at 10:29 AM, Mehar Chaitanya meharchaita...@gmail.com wrote: Hi Jonathan Thanks for ur reply I was wrong in my last posting asking about replication of changes. I want know actually how the

Re: Google SoC

2010-01-27 Thread Jonathan Ellis
I hadn't thought about that, but it's a great idea. I imagine the ASF will be a qualified organization once again with no further work necessary on our part in that area, so all we'd need to do would be come up with projects of appropriate scope. Any ideas there? On Wed, Jan 27, 2010 at 10:51

Re: thinking about dropping hinted handoff

2010-01-27 Thread Jonathan Ellis
On Wed, Jan 27, 2010 at 1:12 PM, Ryan King r...@twitter.com wrote: On Wed, Jan 27, 2010 at 8:34 AM, Jonathan Ellis jbel...@gmail.com wrote: While being able to write (with CL.ZERO or new-in-0.6 ANY) even if all the real write targets are down is cool, but since your goal in real life

Re: error in apache-cassandra-incubating-0.5.0-src.tar.gz

2010-01-25 Thread Jonathan Ellis
1, 2: this is because you need to run ant to generate the thrift code 3: this is a warning, not an error 2010/1/25 Lu Ming xl...@live.com: I downloaded apache-cassandra-incubating-0.5.0-src.tar.gz and imported source files into Eclipse. and find three errors; 1)in

Re: the release after 0.5

2010-01-18 Thread Jonathan Ellis
I've moved the already-committed-as-0.9 issues to 0.6, and created a new 0.7 version for tickets that do not fit the goal of a quick release fully compatible with 0.5. -Jonathan On Fri, Jan 8, 2010 at 2:06 PM, Jonathan Ellis jbel...@gmail.com wrote: In the month since 0.5 was branched, we've

Re: [VOTE] Release 0.5.0 (final)

2010-01-18 Thread Jonathan Ellis
No, but we will definitely take a look at it for 0.5.1. 0.5.0 will not be perfect but it is a huge improvement over 0.4.2, which people are still using because that's the official stable release. We need to fix that. :) -Jonathan On Mon, Jan 18, 2010 at 6:39 PM, Ryan Daum r...@thimbleware.com

Re: multiget_slice

2010-01-14 Thread Jonathan Ellis
how many keys are you fetching? how many columns for each key? On Thu, Jan 14, 2010 at 1:49 AM, Suhail Doshi suh...@mixpanel.com wrote: I've been seeing multiget_slice take an extremely long time: 2010-01-14 07:44:00,513 INFO -- Cassandra, delay: 3.64020800591

Re: multiget_slice

2010-01-14 Thread Jonathan Ellis
   5    5  1  0 94  3 On Thu, Jan 14, 2010 at 10:11 AM, Jonathan Ellis jbel...@gmail.com wrote: how much data do you have on disk?  (only on enode?)  how large are the columns you are reading?  how much ram does vmstat say is being used for cache? On Thu, Jan 14, 2010 at 11:06 AM, Suhail

the release after 0.5

2010-01-08 Thread Jonathan Ellis
In the month since 0.5 was branched, we've already made some significant progress, particularly in performance. I can't find a way to easily link the full list in Jira, but these include 408+669 (mmapping sstables for reads instead of using buffered I/O): ~50% speed improvement 658 (better

Re: API versioning

2010-01-06 Thread Jonathan Ellis
+1, the release version is only tenously related to the API version and tracking the latter separately would be much more useful to clients for the reasons you gave. One question: do we need a 3-tuple? The 0.5 api is a superset of the 0.4 one in method names and arguments, but the exceptions

Re: [VOTE] Release 0.5.0-rc2

2010-01-05 Thread Jonathan Ellis
+1 On Tue, Jan 5, 2010 at 4:07 PM, Eric Evans eev...@rackspace.com wrote: There were some issues in rc1 that warrant us taking another stab at this, (see [1]). I propose the following tag and artifacts for 0.5.0-rc2: SVN Tag:

Re: [VOTE] Release 0.5.0-rc1

2009-12-23 Thread Jonathan Ellis
+1 On Wed, Dec 23, 2009 at 3:28 PM, Eric Evans eev...@rackspace.com wrote: All of the 0.5 showstoppers are out of the way and things are looking pretty solid. Shall we push out a release candidate? I propose the following tag and artifacts for 0.5.0-rc1 SVN Tag:

Re: build fails with ant clean gen-thrift-java build

2009-12-22 Thread Jonathan Ellis
2009/12/22 Ted Zlatanov t...@lifelogs.com: Looks like this is not getting changed and Cassandra must cope with Thrift's new constructors instead.  Will the updated code make it into SVN so I can do my auth patch against it? As soon as such a patch is contributed, sure. -Jonathan

Re: build fails with ant clean gen-thrift-java build

2009-12-22 Thread Jonathan Ellis
2009/12/22 Ted Zlatanov t...@lifelogs.com: But would you (as Gary IIRC mentioned earlier) prefer the old constructors back instead to minimize changes to Cassandra? In a perfect world, Thrift wouldn't go breaking stuff that wasn't causing problems, or if they did they would admit it and roll

Re: Questions about weak reads

2009-12-09 Thread Jonathan Ellis
On Wed, Dec 9, 2009 at 10:33 AM, Sylvain Lebresne sylv...@yakaz.com wrote: Well, I just checkout from svn (svn checkout https://svn.apache.org/repos/asf/incubator/cassandra/trunk cassandra) Thanks, updated comments. In any case, at least for readRemote, why when the suitableEndpoint timeout

Re: Questions about weak reads

2009-12-09 Thread Jonathan Ellis
On Wed, Dec 9, 2009 at 11:01 AM, Sylvain Lebresne sylv...@yakaz.com wrote: And wouldn't it be possible/reasonable to do something like a strong read, but with a modified quorumResponseHandler that return from get() as soon as it gets an answer and do the responseResolver/read repair in the

Re: [VOTE] Release 0.5.0-beta2

2009-12-09 Thread Jonathan Ellis
+1

Re: gossip documentation

2009-12-04 Thread Jonathan Ellis
Referring to: http://wiki.apache.org/cassandra/ArchitectureGossip On Fri, Dec 4, 2009 at 4:47 AM, Jaakko rosvopaalli...@gmail.com wrote: Hi, Just wrote part of Gossip documentation. Before finishing this, I'd like to hear opinions on is this level of documentation too detailed or suitable?

Re: gossip documentation

2009-12-04 Thread Jonathan Ellis
Some of it is pretty low-level -- we might be better served moving some into comments / docstrings and keeping the wiki oriented towards overview. What do you think? On Fri, Dec 4, 2009 at 4:47 AM, Jaakko rosvopaalli...@gmail.com wrote: Hi, Just wrote part of Gossip documentation. Before

Re: Wish list [from users survey thread]

2009-11-24 Thread Jonathan Ellis
On Mon, Nov 23, 2009 at 1:45 PM, Jonathan Ellis jbel...@gmail.com wrote: 9. Design documentation: also agreed.  Chris has started on this (http://wiki.apache.org/cassandra/ArchitectureSSTable) and I will try to at least sketch out some more this week. http://wiki.apache.org/cassandra

Re: 0.5-0.9 storage updater

2009-11-20 Thread Jonathan Ellis
2009/11/20 Ted Zlatanov t...@lifelogs.com: As a related issue, it would be nice to have a utility that either dumps a whole key or a whole keyspace in some format (YAML, XML, whatever) without access to the machine where Cassandra lives.  I didn't see such a beast in the repos or any of the

Re: 0.5-0.9 storage updater

2009-11-20 Thread Jonathan Ellis
2009/11/20 Ted Zlatanov t...@lifelogs.com: Cool, thanks for explaining.  I still think exporting a single key remotely is very useful, and at least that should be possible with the current architecture, right? Yes, you could build that on the thrift API easily enough.

Welcome committer Johan Oskarsson

2009-11-19 Thread Jonathan Ellis
The Cassandra PPMC has voted to add Johan Oskarsson as a committer to the Cassandra incubator project. Welcome, Johan -- or more correctly, thanks for your hard work! :) -Jonathan

Re: [VOTE] Release 0.5.0-beta1

2009-11-19 Thread Jonathan Ellis
+1 on releasing a beta. Things can always be improved, and IMO it's time to get more people testing / benchmarking the 0.5 codebase, which even where it is still rough is much better than 0.4. -Jonathan On Thu, Nov 19, 2009 at 8:14 PM, Jaakko rosvopaalli...@gmail.com wrote: I'd propose to wait

Re: [VOTE] Release 0.5.0-beta1

2009-11-19 Thread Jonathan Ellis
I feel like at this point we are throwing good time after bad waiting for 193/520 before beta 1. 193 is getting close, pending Jun's review, but it's not useful without 520 which is just getting started if I am not mistaken. On Thu, Nov 19, 2009 at 10:43 PM, Stu Hood stuart.h...@rackspace.com

Re: Issue in data read from a cluster node

2009-11-16 Thread Jonathan Ellis
What is your replication factor? And what internal error is getting logged? On Mon, Nov 16, 2009 at 2:04 AM, Shreya Chakravarty shreya_chakrava...@persistent.co.in wrote: Hi, I have created a Cassandra cluster of 3 nodes and using a java program on another machine to insert and read data.

Re: overriding directories from command line (was: 2 problems running Cassandra as a developper)

2009-11-16 Thread Jonathan Ellis
2009/11/16 Ted Zlatanov t...@lifelogs.com: - allow a prefix here, e.g. /usr/local/cassandra instead of the default /var -1 on this, I think it makes it too easy to shoot yourself in the foot. - allow passing the prefix and any of the directories from the command  line -1 on this too; we've

Re: 2 problems running Cassandra as a developper

2009-11-14 Thread Jonathan Ellis
It's not a maven project. It just has a pom.xml to help other project that do use maven and want cassandra as a dependency. Looks like importing it as a maven project results in an incomplete build. On Sat, Nov 14, 2009 at 6:01 AM, Paul Sabou paul.sa...@gmail.com wrote: Hi, I'am new to

Re: 2 problems running Cassandra as a developper

2009-11-14 Thread Jonathan Ellis
in Cassandra will run in the same problems when trying to run it in Eclipse/Linux. Any help/suggestion is appreciated. best regards Paul. On Sat, Nov 14, 2009 at 2:06 PM, Jonathan Ellis jbel...@gmail.com wrote: It's not a maven project.  It just has a pom.xml to help other project that do

Re: 2 problems running Cassandra as a developper

2009-11-14 Thread Jonathan Ellis
ant test nosetests On Sat, Nov 14, 2009 at 9:12 AM, Paul Sabou paul.sa...@gmail.com wrote: Hi, Thank you for your quick answer. Now it works. You are perfectly right. On Sat, Nov 14, 2009 at 3:23 PM, Jonathan Ellis jbel...@gmail.com wrote: first just get it working: ant; bin/cassandra -f

Re: 2 problems running Cassandra as a developper

2009-11-14 Thread Jonathan Ellis
More here: http://wiki.apache.org/cassandra/HowToContribute On Sat, Nov 14, 2009 at 9:43 AM, Jonathan Ellis jbel...@gmail.com wrote: ant test nosetests On Sat, Nov 14, 2009 at 9:12 AM, Paul Sabou paul.sa...@gmail.com wrote: Hi, Thank you for your quick answer. Now it works. You

Re: Graduation?

2009-11-12 Thread Jonathan Ellis
On Thu, Nov 12, 2009 at 1:44 AM, ant elder ant.el...@gmail.com wrote: On Sat, Nov 7, 2009 at 8:26 PM, Eric Evans eev...@rackspace.com wrote: On Fri, 2009-11-06 at 11:21 +, ant elder wrote: Can someone explain how this RTC mode is actually working right now, what is the process for

Re: bandwidth limiting Cassandra's replication and access control

2009-11-11 Thread Jonathan Ellis
2009/11/11 Ted Zlatanov t...@lifelogs.com: Should we move this to the devel list, BTW? Moved. Is it OK to keep the local auth info as a field in the CassandraServer instance Yes.  The other JAAS modules don't support that (AFAICT they only work on the current user) so we'd only be able to

Re: Re: bandwidth limiting Cassandra's replication and access control

2009-11-11 Thread Jonathan Ellis
The main reason we support multiple keyspaces is to allow separation of different applications. So within a keyspace, the app should manage permissions, but at the keyspace level Cassandra should be in charge. On Wed, Nov 11, 2009 at 4:18 PM, Coe, Robin robin@bluecoat.com wrote: Do you mean

Re: Graduation?

2009-11-05 Thread Jonathan Ellis
On Thu, Nov 5, 2009 at 3:29 PM, ant elder ant.el...@gmail.com wrote: I think it could be tough to get Cassandra through a graduation vote on general@ while working with RTC. I know there are some other projects that use RTC, but its usually only for stable or release branches isn't it?

Re: Graduation?

2009-11-05 Thread Jonathan Ellis
On Thu, Nov 5, 2009 at 5:23 PM, Eric Evans eev...@rackspace.com wrote: On Thu, 2009-11-05 at 17:04 -0600, Michael Greene wrote: It was previously proposed that documentation be CTR.  I would be in favor of this, and extending it to include scripts, licensing, and other project management

gossip partitioning

2009-11-04 Thread Jonathan Ellis
There's some code in StorageService.onChange that looks like this: // if there is no token data in the endpointstate /* * If we are here and if this node is UP and already has an entry * in the token map. It means that the node was behind a network

Re: [VOTE] Release 0.4.2

2009-11-04 Thread Jonathan Ellis
+1

Re: Graduation?

2009-11-03 Thread Jonathan Ellis
I'd love to graduate. What do we need to do to make it happen? On Tue, Nov 3, 2009 at 10:20 AM, Matthieu Riou matth...@offthelip.org wrote: Hi guys, I'd be curious to hear others' opinions but I think Cassandra is close to be ready for graduation (or at least preparing for it). You came a

Re: bootstrap rack aware on Cassandra4.1

2009-10-30 Thread Jonathan Ellis
Right, rack-aware (really, endpointsnitch-aware) bootstrap isn't supported until 0.5, which trunk will become probably some time in November. On Fri, Oct 30, 2009 at 9:26 AM, Paderno Giampaolo giampaolo.pade...@yoox.com wrote: Hi all, we experienced that writing on a rack aware node we get

Re: HBase vs. Cassandra: new article!

2009-10-29 Thread Jonathan Ellis
is this guy serious? Cassandra relies mostly on Key-Value pairs for storage? news to me. On Thu, Oct 29, 2009 at 2:51 PM, Michael Greene michael.gre...@gmail.com wrote: Forwarding this along: -- Forwarded message -- From: Bradford Stephens bradfordsteph...@gmail.com Date:

Re: HBase vs. Cassandra: new article!

2009-10-29 Thread Jonathan Ellis
I never saw him ask anything here or #cassandra. I dropped in on #hbase and he said he's willing to fix factual errors, so I gave him a list. It was pretty long. :) On Thu, Oct 29, 2009 at 3:08 PM, Chris Goffinet goffi...@digg.com wrote: Someone should really talk to this guy. There are many

Approaching 0.5

2009-10-27 Thread Jonathan Ellis
We are getting closer to a 0.5 beta. Cleanup of the bootstrap code is substantially complete; while there is room for further improvement (e.g. CASSANDRA-513), the foundation is there now for the other of our main goals for 0.5, load balancing. We've also made a lot of performance improvements,

important performance note

2009-10-22 Thread Jonathan Ellis
Brandon Williams has been doing some testing on the garbage collector options we are using, and found that removing the line -XX:CMSInitiatingOccupancyFraction=1 \ from bin/cassandra.in.sh dramatically increases throughput by reducing the amount of CPU used by the garbage collector.

Re: want a ticket to NoSQL east?

2009-10-12 Thread Jonathan Ellis
These are spoken for now. On Sun, Oct 11, 2009 at 9:38 PM, Jonathan Ellis jbel...@gmail.com wrote: Hi all, Rackspace is sponsoring NoSQL East (Oct 29/30 in Atlanta -- https://nosqleast.com/2009/) and we have two extra tickets to give away to the community.  (Tickets for the original venue

Re: [VOTE] Release 0.4.1

2009-10-12 Thread Jonathan Ellis
+1 On Mon, Oct 12, 2009 at 1:45 PM, Eric Evans eev...@rackspace.com wrote: The 0.4 branch has received a number of important bug fixes[1] since we released 0.4.0, it feels about time for an 0.4.1. Shall we? :) SVN Tag:

Re: [RE-VOTE] Release 0.4.1

2009-10-12 Thread Jonathan Ellis
+1 On Mon, Oct 12, 2009 at 2:32 PM, Eric Evans eev...@racklabs.com wrote: Ok, sorry for the false start, here it is again (as r824462). The 0.4 branch has received a number of important bug fixes[1] since we released 0.4.0, it feels about time for an 0.4.1. Shall we? :) SVN Tag:

want a ticket to NoSQL east?

2009-10-11 Thread Jonathan Ellis
Hi all, Rackspace is sponsoring NoSQL East (Oct 29/30 in Atlanta -- https://nosqleast.com/2009/) and we have two extra tickets to give away to the community. (Tickets for the original venue of 250 seats sold out, then they found another venue w/ 40 more seats, and it looks like those will sell

Re: Error in the latest Trunk - RackAware Statergy

2009-10-05 Thread Jonathan Ellis
and send the code across. if there is something which i need to know i will sync up @ IRC... (hopefully it will starts working for me)... Regards, /VJ On Mon, Oct 5, 2009 at 3:15 PM, Jonathan Ellis jbel...@gmail.com wrote: On Mon, Oct 5, 2009 at 5:02 PM, Vijay vijay2...@gmail.com wrote

Re: Binary Loading Question

2009-09-30 Thread Jonathan Ellis
So it looks like it takes multiple rows, one per column in the rowmutation. Which is confusing and weird if you ask me. On Wed, Sep 30, 2009 at 1:57 PM, Jonathan Ellis jbel...@gmail.com wrote: Yeah, just eyeballing it                ColumnFamilyStore cfStore = columnFamilyStores_.get

Re: [PROPOSAL] CTR for all non-code changes

2009-09-18 Thread Jonathan Ellis
On Fri, Sep 18, 2009 at 3:12 PM, Paul Querna p...@querna.org wrote: I am starting to believe it would be helpful if Cassandra adopted a similar CTR policy for non-code changes on trunk and all branches. Agreed. -Jonathan

Calling all mentors

2009-09-16 Thread Jonathan Ellis
Hey mentors, We've had an RC2 vote over on incubator-general and cc'd here for days. Please vote. This is getting frustrating: we never did finish the RC1 vote, before it got lapped by RC2. Remember when I was explaining that the reason I was reluctant to go through the full release process

Re: [VOTE] 0.4.0 RC2

2009-09-10 Thread Jonathan Ellis
+1

Re: [VOTE] 0.4 RC1

2009-09-02 Thread Jonathan Ellis
+1 from me.

Re: Data model names, reloaded

2009-08-24 Thread Jonathan Ellis
IMO the window for making this kind of change has passed. We've talked about finalizing the 0.4 api weeks ago, we got a beta out with it, and it does the job. The timeline wasn't a surprise to anyone paying attention to the list. It's time to move on. -Jonathan On Fri, Aug 21, 2009 at 1:36

Re: Data model names, reloaded

2009-08-24 Thread Jonathan Ellis
On Mon, Aug 24, 2009 at 10:26 AM, Toby DiPasqualecodeslin...@gmail.com wrote: That feels to me to be a short-sighted point of view. I'd imagine that its more important for people be able to understand the data model than meeting some kind of arbitrary timeline. I, too, find the current naming

Re: [VOTE] Change data model names for 0.5

2009-08-24 Thread Jonathan Ellis
-1 On Mon, Aug 24, 2009 at 2:29 PM, Evan Weaverewea...@gmail.com wrote: Resolved, that the data model names should be changed in Cassandra 0.5. Evan PS. Committers have the most weight, but everyone's voice is heard. -- Evan Weaver

Re: Wiki changes

2009-08-24 Thread Jonathan Ellis
It goes to -commits (with a reply-to of -dev). Jira generates way more spam to -commits, so no worries; we're used to it. :) -Jonathan On Mon, Aug 24, 2009 at 2:33 PM, Curt Micolasen...@gmail.com wrote: Hey Devs, I am not sure who receives the email mentioned whenever the wiki is edited,

Re: Wiki changes

2009-08-24 Thread Jonathan Ellis
Yes, definitely +1 thanks for the updates. On Mon, Aug 24, 2009 at 2:36 PM, Michael Greenemichael.gre...@gmail.com wrote: For those thinking, that's some spam I'd like to receive as well! you can get in on the action at http://mail-archives.apache.org/mod_mbox/incubator-cassandra-commits/

Re: Exception at startup

2009-08-22 Thread Jonathan Ellis
, Jonathan Ellis wrote: no, that should be recent enough. Was this cl written by the 0.3 install prior to the upgrade? On 8/21/09, Anthony Molinaro antho...@alumni.caltech.edu wrote: Maybe not, I'm using trunk (or at least trunk as of yesterday afternoon), was it fixed today by chance

  1   2   >