Commit Graph

1206 Commits

Author SHA1 Message Date
Jonathan Ellis 04384943fe convert cassandra.xml to cassandra.yaml. patch by Todd Blose and Stu Hood for CASSANDRA-990
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@936510 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 21:05:26 +00:00
Jonathan Ellis 1fe22210e0 update docs for CASSANDRA-994
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@936015 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 18:01:04 +00:00
Jonathan Ellis 7cd1585f4b add conf/cassandra-rack.properties example
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@935729 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 20:22:19 +00:00
Jonathan Ellis c59a4fc4bb add SimpleSnitch and make it the default
patch by Erick Tryzelaar; reviewed by jbellis for CASSANDRA-994



git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@935726 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 20:11:10 +00:00
Jonathan Ellis 1a904da729 rename snitches to emphasize that RackAware is adding extra functionality that is not needed for simpler replication strategies.
patch by Erick Tryzelaar; reviewed by jbellis for CASSANDRA-994


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@935725 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 20:10:56 +00:00
Jonathan Ellis 7a4a7090cb rename EndPoint classes -> Endpoint, part 2.
patch by Erick Tryzelaar; reviewed by jbellis for CASSANDRA-994

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@935717 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 19:58:10 +00:00
Jonathan Ellis 2e1b1a53c9 rename EndPoint classes -> Endpoint (case change).
patch by Erick Tryzelaar; reviewed by jbellis for CASSANDRA-994

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@935601 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 14:47:36 +00:00
Jonathan Ellis 18b2a16f0a rename EndPoint -> Endpoint, part 1. patch by Erick Tryzelaar; reviewed by jbellis for CASSANDRA-994
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@935594 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 14:36:24 +00:00
Jonathan Ellis 79e9a80b2f make EndPointSnitch per-cluster instead of per-keyspace, and add better error messages for snitch misconfiguration.
patch by jbellis; reviewed by gdusbabek for CASSANDRA-986

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@935049 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 19:23:47 +00:00
Jonathan Ellis 602cf75a76 update NEWS, configuration for byte[] keys change. patch by Stu Hood; reviewed by jbellis for CASSANDRA-989
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@934974 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 16:10:41 +00:00
Jonathan Ellis dd787f7fcb simplify configuration file loading; rename to cassandra.xml
patch by jbellis; reviewed by eevans for CASSANDRA-971

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@934505 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 18:17:42 +00:00
Jonathan Ellis 840a619f21 add super3 CF with Long column names. patch by Ted Zlatanov; reviewed by jbellis for CASSANDRA-964
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@931979 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 15:49:08 +00:00
Jonathan Ellis 081538ad0d add ReadRepairChance to CF definition. patch by Matthew Dennis; reviewed by jbellis for CASSANDRA-930
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@930272 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 14:05:32 +00:00
Jonathan Ellis 4926393768 merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@923410 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 19:53:05 +00:00
Gary Dusbabek 4b13441dda CASSANDRA-878 remove CalloutLocation and StagingFileDirectory from configs.
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@922259 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 14:05:10 +00:00
Jonathan Ellis 8f1376bcba merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@918566 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 16:51:24 +00:00
Jonathan Ellis 5d4371a0c4 merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@916962 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 15:18:50 +00:00
Jonathan Ellis 8584c40ad5 merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@916312 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 15:08:12 +00:00
Eric Evans 5a5f9aa3d2 use less specific descriptors for Thrift{Address,Port}
Patch by eevans; reviewed by gdusbabek for CASSANDRA-811

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@911989 13f79535-47bb-0310-9956-ffa450edef68
2010-02-19 21:30:32 +00:00
Jonathan Ellis b55b26d790 use a sorted map for memtable contents to make range queries not have to sort every time
patch by jbellis; reviewed by Stu Hood for CASSANDRA-799

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@911223 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 23:22:23 +00:00
Jonathan Ellis ef6f0238ef finish r/m of -f option. use log4j of WARN,stderr so that doesn't get in the way of redirecting stdout.
patch by jbellis; reviewed by eevans for CASSANDRA-766

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@908652 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 19:53:56 +00:00
Gary Dusbabek 3577fd8252 add per-keyspace replication factor and replication strategy. Patch by Gary Dusbabek, reviewed by Jaakko Laine. CASSANDRA-620
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@906521 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 15:21:31 +00:00
Jonathan Ellis 9c0f845129 update endpoint snitch comments. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@903845 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 21:18:32 +00:00
Jonathan Ellis 5b522404d6 convert gossip to use tcp. this finishes the removal of nio
patch by jbellis; reviewed by Brandon Williams for CASSANDRA-705

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@901437 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 23:38:20 +00:00
Jonathan Ellis 1054e3e8bd include time on default stdout log4j output. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@901391 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 21:49:58 +00:00
Eric Evans 4e6c2af8c7 cleanup sample configurations
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@900647 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 02:12:13 +00:00
Eric Evans 2f0e62c1a8 authentication and authorization functions
Patch by Ted Zlatanov; reviewed by eevans for CASSANDRA-547

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@900644 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 02:10:41 +00:00
Jonathan Ellis 27101e9626 change RowsCachedFraction option to RowsCached, specified either as an absolute number or as a percentage of rows in the CF
patch by jbellis; reviewed by goffinet for CASSANDRA-688

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@900435 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 15:51:26 +00:00
Jonathan Ellis 9a486949a7 make rowcache, keycache configurable per-CF
patch by jbellis; reviewed by goffinet for CASSANDRA-678

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@898178 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 04:05:03 +00:00
Jonathan Ellis b40af75114 use throughput and op count instead of size and column count to determine when to flush, greatly reducing the amount of synchronization required to insert
patch by jbellis; tested by Brandon Williams for CASSANDRA-658

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@896755 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 05:46:30 +00:00
Jonathan Ellis 33acfcd657 add support for multiple mmapped index segments, and add mmap_index_only option
patch by jbellis; tested by Brandon Williams for CASSANDRA-669

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@896742 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 02:57:14 +00:00
Jonathan Ellis c065da73ee merge from 0.5 branch
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@896140 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 17:28:41 +00:00
Jonathan Ellis b2c2a6031a productize mmap approach: handle files > 2GB by chunking w/ fallback to BRAF
when a row crosses chunk boundaries (you don't want to have to check for crossing
boundary in each read() call, or you'll almost certainly waste more time than
the BRAF approach); add retrying-delete to wait for mmapped files to be unmapped
by finalizer after compaction

patch by jbellis; reviewed by Brandon Williams and goffinet for CASSANDRA-408

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@894944 13f79535-47bb-0310-9956-ffa450edef68
2009-12-31 21:32:13 +00:00
Eric Evans 214fd159d1 merge with 0.5 branch
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@893354 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 23:53:56 +00:00
Jonathan Ellis 4a07bb1a7a change default log level to INFO. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@882250 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 19:05:52 +00:00
Eric Evans 64c6a9cf1e remove duplicated configuration directive
Patch by eevans for CASSANDRA-557

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@836381 13f79535-47bb-0310-9956-ffa450edef68
2009-11-15 17:44:17 +00:00
Jonathan Ellis 183f51dc21 r/m unused bootstrap directory and ensure streaming files live to be streamed
patch by jbellis; reviewed by Jun Rao for CASSANDRA-538

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@835446 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 17:03:52 +00:00
Jonathan Ellis 26971fb3ff CLHM, fixed version
patch by jbellis; reviewed by goffinet for CASSANDRA-423

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@828734 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 14:58:53 +00:00
Jonathan Ellis 735435be69 add AutoBootstrap config option
patch by jbellis.  reviewed by goffinet for CASSANDRA-385

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@824007 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 03:22:15 +00:00
Jonathan Ellis 6d070498be r/m undocumented term aliases in favor of a single 'comment' field.
patch by jbellis and Brandon Williams; reviewed by Michael Greene for CASSANDRA-481

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@823349 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 22:30:55 +00:00
Jonathan Ellis a917588bb2 add MemtableFlushAfterMinutes, a global replacement for the old per-CF FlushPeriodInMinutes setting
patch by jbellis; reviewed by junrao for CASSANDRA-463

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@821127 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 18:40:27 +00:00
Jonathan Ellis a5ef84ebd4 make FlushPeriodInMinutes comment more accurate. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@820064 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 18:41:11 +00:00
Jonathan Ellis 92098fe695 r/m obsolete comment. patch by jbellis for CASSANDRA-461
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@819828 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 04:03:04 +00:00
Jonathan Ellis 4c0df722db add back BinaryMemtable tuneable, but remove the hardcoded 50k limit
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@818194 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 18:44:16 +00:00
Jonathan Ellis 1c547a2aa9 support multiple flush threads safely. automatically use up to avaiable core count threads for flushing. pause updates when too many unflushed memtables are generated.
patch by jbellis; reviewed by goffinet for CASSANDRA-401

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@817925 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 01:57:15 +00:00
Jonathan Ellis aee7b0c4df Consolidate BMT threshold and object count sizes into getMemtableSize() and getMemtableObjectCount(). patch by Chris Goffinet; reviewed by jbellis for CASSANDRA-433
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@817265 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 14:20:00 +00:00
Jonathan Ellis ab392a6ee7 remove buggy concurrentlinkedhashmap library and lru cache. too late in 0.4 to try to debug the library -- will revisit for 0.5. patch by jbellis; reviewed by Chris Goffinet for CASSANDRA-405
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@810540 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 15:04:16 +00:00
Jonathan Ellis 35cd1761f6 change default comparator to BytesType
patch by jbellis; reviewed by Chris Goffinet for CASSANDRA-400

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@809645 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 16:07:37 +00:00
Jonathan Ellis dc794169b8 Fixes to make BinaryMemtable useful. Highlights are configurable threads for [binary]memtable flushing and flushAndShutdown JMX/nodeprobe directive.
patch by Chris Goffinet; reviewed by jbellis for CASSANDRA-337

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@808942 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 16:27:58 +00:00
Jonathan Ellis 44fcf646bd fix typo reported by Arin.
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@808621 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 20:49:16 +00:00
Jonathan Ellis f8fa6d2431 refactors COPP to use BytesToken. patch by Stu Hood; reviewed by jbellis for CASSANDRA-242
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@808205 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 22:20:13 +00:00
Eric Evans e871517c62 updated log file location
Patch by eevans; reviewed by jbellis for CASSANDRA-391

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@807334 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 18:40:20 +00:00
Eric Evans e741bebb1e CASSANDRA-373 re{format,factor} conf/storage-conf.xml
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@806325 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 19:48:10 +00:00
Jonathan Ellis 51401247c1 remove groovy jar, half-baked Callout code. patch by Michael Greene; reviewed by jbellis for CASSANDRA-380
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@806267 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 17:24:33 +00:00
Jonathan Ellis db18318c0a do timed sync if we're not doing it in the executor process()
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@805211 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 23:34:23 +00:00
Jonathan Ellis 7ea2c96852 add settings for buffer sizes; make unconfigurable ones more sane.
patch by jbellis; reviewed by Jun Rao and Eric Evans for CASSANDRA-355

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@803135 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 14:13:47 +00:00
Jonathan Ellis 480650b826 fix typo breaking CompareSubcolumnsWith. fix timeuuid compare with byte[0].
patch by jbellis; reviewed by Evan Weaver for CASSANDRA-357

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802977 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 02:09:33 +00:00
Eric Evans bf6236ddf6 CASSANDRA-241 optional support for framed transport
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802898 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 18:57:03 +00:00
Jonathan Ellis 9d6f4752b6 reduce buffer sizes for test suite since it forces lots of small flushes. reduces NameSortTest from ~30s back to < 10s.
patch by jbellis for CASSANDRA-339

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802276 13f79535-47bb-0310-9956-ffa450edef68
2009-08-08 00:59:14 +00:00
Jonathan Ellis fa53f58871 make default OPP non-collating (compare is faster).
patch by jbellis; reviewed by Sammy Yu for CASSANDRA-339

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802186 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 20:57:08 +00:00
Jonathan Ellis e24925d49e add SSTableWriter buffer size option; increase default.
patch by jbellis; reviewed by Sammy Yu for CASSANDRA-339

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802185 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 20:57:02 +00:00
Jonathan Ellis debfcf8aca fix .properties line endings. patch by jbellis; reviewed by Jeff Hodges for CASSANDRA-111
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@801042 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 01:31:30 +00:00
Jonathan Ellis 92f3ab3949 The change to LexicalUUIDType and TimeUUIDType didn't get propagated to the default storage-conf. patch by Michael Greene; reviewed by jbellis for CASSANDRA-240
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@800769 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 13:05:28 +00:00
Jonathan Ellis 7bd9590c07 Rename UUIDType to LexicalUUIDType and add TimeUUIDType.
patch by jbellis; reviewed by Michael Koziarski for CASSANDRA-334

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@800573 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 21:27:04 +00:00
Jonathan Ellis 572b5f852d table -> keyspace
patch by jbellis; reviewed by Michael Greene for CASSANDRA-271

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@799140 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 00:29:28 +00:00
Jonathan Ellis 56a846ba1c Pluggable replicaplacement, endpointsnitch classes (take 2). patch by Sammy Yu; reviewed by jbellis for CASSANDRA-323
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@799065 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 20:39:01 +00:00
Jonathan Ellis bd05521131 Revert "Pluggable replicaplacement, endpointsnitch classes." Breaks test suite.
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@799045 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 20:10:38 +00:00
Jonathan Ellis 51dbca6927 Pluggable replicaplacement, endpointsnitch classes. patch by Sammy Yu; reviewed by jbellis for CASSANDRA-323
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@799043 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 20:05:46 +00:00
Jonathan Ellis 574cb8f549 Use arrayblockingqueue in commitlog executor; this cleans up the code a bit (performance is unaffected since the writes and syncs are far more expensive than any queue ops)
patch by jbellis; reviewed by Jun Rao for CASSANDRA-182

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@798373 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 02:46:11 +00:00
Jonathan Ellis fbe6c4a854 add config options for commitlog syncing
patch by jbellis; reviewed by Jun Rao for CASSANDRA-182

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@798372 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 02:46:27 +00:00
Jonathan Ellis 3ab3667673 people are still having trouble with GCs in small heap sizes. flush more often with small columns. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@798018 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 04:15:43 +00:00
Jonathan Ellis b866f81415 add SubcolumnCompareWith option and subcolumnComparator code.
patch by jbellis; reviewed by Eric Evans for CASSANDRA-304

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@796132 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 03:01:55 +00:00
Jonathan Ellis 438f387705 add BytesType comparator (like AsciiType but doesn't require that the bytes mean anything)
patch by jbellis; reviewed by Eric Evans for CASSANDRA-304

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@796131 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 03:01:42 +00:00
Jonathan Ellis 986cee6806 change String column names to byte[] to allow user-defined ordering.
patch by jbellis; reviewed by Sandeep Tata for CASSANDRA-185

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@796108 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 01:36:52 +00:00
Eric Evans bad8fb5fae allow separate config of thrift bind address
This patch adds a new configuration directive 'ThriftAddress', an
analogue to ListenAddress for the thrift service.

If left unconfigured, the thrift service will fall back to the same
default as ListenAddress (i.e., InetAddress.getLocalHost). Unlike
ListenAddress, it is OK to set ThriftAddress to 0.0.0.0 which
will result in the service listening on all interfaces.

Patch by eevans; reviewed by Michael Greene for CASSANDRA-288

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@795205 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 19:45:22 +00:00
Jonathan Ellis 4b4459c0d1 r/m ZooKeeper vestiges. patch by Michael Greene; reviewed by jbellis for CASSANDRA-291
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@793691 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 20:05:04 +00:00
Jonathan Ellis e324ef9051 disallow specifying ColumnSort on supercolumns. patch by jbellis; reviewed by Evan Weaver for CASSANDRA-251
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@791598 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 20:07:52 +00:00
Jonathan Ellis b54de30a02 per-table key cache size.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-259

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@791592 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 19:58:13 +00:00
Jonathan Ellis 013d59fc00 add concurrentlinkedhashmap cache and config option. config option is NOT yet wired up to control cache sizes.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-259

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@791590 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 19:57:50 +00:00
Jonathan Ellis 717b111f7b add more explanation of what blank listenaddress does for CASSANDRA-256
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@790303 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 18:45:55 +00:00
Jonathan Ellis 2000bc3775 remove unused options and add comments from the old Setup wiki page.
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@790301 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 18:28:54 +00:00
Jonathan Ellis 81dd8ee5f6 use normal Table for system metadata
patch by jbellis; reviewed by Jun Rao for CASSANDRA-235

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@788144 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 19:25:33 +00:00
Jonathan Ellis 5cdc75d760 move Hints cf to SYSTEM_TABLE
patch by jbellis; reviewed by Jun Rao for CASSANDRA-235

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@788142 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 19:24:56 +00:00
Jonathan Ellis d48d8fcbf7 r/m unused code dealing with sstables, and ConcurrentWriter / FastConcurrentWriter. mmap is not faster than write() for sequential I/O, which is what the vast majority of our writes are. mmap _does_ have an advantage when we seek back to the start of a commitlog segment to update the headers after memtable flush, but we do that infrequently enough that it's not worth the disadvantages (primarily, blowing up if we exceed the 4MB size).
patch by jbellis; reviewed by Eric Evans for CASSANDRA-224

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@787758 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 17:47:45 +00:00
Jonathan Ellis 509cbb85de remove table_ from CommitLog and add multitable tests.
patch by jbellis; reviewed by goffinet for CASSANDRA-79

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@787407 13f79535-47bb-0310-9956-ffa450edef68
2009-06-22 21:18:12 +00:00
Jonathan Ellis a102a3e73a fix line endings
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@785436 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 22:35:04 +00:00
Jonathan Ellis d800250cbc merge from 0.3 branch
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@780687 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 15:36:59 +00:00
Jonathan Ellis 88edbed30c merge from 0.3 branch
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@775983 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 15:22:23 +00:00
Jonathan Ellis 324c3c32a1 allow specifying initial token. patch by Jun Rao; reviewed by jbellis for CASSANDRA-181
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@775203 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 15:55:35 +00:00
Jonathan Ellis 85a121b474 add note that partitioners cannot be changed w/o data wipe
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@773015 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 14:52:03 +00:00
Jonathan Ellis 08daadf4ba 100k is still too many objects for 1GB (for at least some workloads). patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@772788 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 22:00:12 +00:00
Jonathan Ellis 8042a4e441 allow periodic flushing on a per-CF basis for infrequently-updated CFs (i.e.,
unlikely to reach the memtable size or object count limits often).  this will allow
purging old commitlog segments in a more timely fashion.
patch by Jun Rao; reviewed by jbellis for CASSANDRA-134

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@772026 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 01:55:51 +00:00
Jonathan Ellis e4e5629b13 make out-of-the-box config 1GB-friendly. patch by jbellis; reviewed by Eric Evans for CASSANDRA-118
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@770811 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 20:14:35 +00:00
Jonathan Ellis 83d24602fd Simplify default storage-conf.xml. patch by Sandeep Tata; reviewed by jbellis for #99
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@768135 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 02:58:24 +00:00
Jonathan Ellis b0dde7139a configurable ListenAddress setting. allows running multiple instances of Cassandra
on a single machine or VM.  patch and review by Per Mellqvist, Eric Evans, and
jbellis for #43

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@767307 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 21:34:46 +00:00
Jonathan Ellis 807b89ed7c Revert "configurable ListenAddress setting" since it prevents server from starting.
This reverts commit 1304a9d9e1f9f85b991d99a1ca96e02505eb430f.

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@767205 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 16:21:15 +00:00
Jonathan Ellis fb0e28d664 configurable ListenAddress setting. allows running multiple instances of Cassandra on a single machine or VM. patch by Per Mellqvist; reviewed by Eric Evans for #43
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@767168 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 14:56:22 +00:00
Jonathan Ellis fa1f80f40d make GC_GRACE_IN_SECONDS customizable in storage.conf.
patch by jbellis; reviewed by Eric Evans for #33

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@766134 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 20:08:10 +00:00
Jonathan Ellis 6b2050c1fc Add MemtableSizeInMB and MemtableObjectCountInMillions to the default config. Uses a more conservative value for MemtableSizeInMB the default. Patch by Eric Evans; reviewed by jbellis for #51
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@765269 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 16:56:11 +00:00
Jonathan Ellis 9cdc839ee8 write get_columns_since test to exercise sequenceFile.next(timeRange). patch by jbellis; reviewed by Jun Rau. see #52
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@762375 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 15:10:07 +00:00
Jonathan Ellis 41943de4a9 fix thrift port sample back to 9160
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@760968 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 17:21:14 +00:00
Jonathan Ellis 63b5310b6b patch from Jun Rao make Thrift port configureable. Also add sample to config/. fixes #10
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759299 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 18:39:49 +00:00
Jonathan Ellis 1866e3802b allow user-specified Partitioners
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759004 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:45:18 +00:00
Jonathan Ellis c72b9e85b6 start/stop, log4j.properties
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@758964 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:18:11 +00:00
Jonathan Ellis 03862ea54e more columnfamilies for testing. set defaults that will work on a single node out of the box.
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@758957 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 01:44:27 +00:00
Avinash Lakshman 4d09e9562d Sample config file.
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@753585 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 02:12:52 +00:00