Eric Evans
ce10745331
merge w/ 0.7 branch
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1054727 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 20:05:00 +00:00
Jonathan Ellis
ff1009511e
merge from 0.7
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1054687 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 17:05:16 +00:00
Gary Dusbabek
592970a87b
merge from 0.7
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1053717 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 19:43:22 +00:00
Jonathan Ellis
29e64c8975
merge from 0.7.0
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1053711 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 19:22:32 +00:00
Jonathan Ellis
44f0214b1d
merge from 0.7
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1052105 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 23:56:23 +00:00
Jonathan Ellis
b17aefbcf5
check log4j configuration for changes every 10s
...
patch by tjake; reviewed by jbellis for CASSANDRA-1525
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1052104 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 23:53:40 +00:00
Johan Oskarsson
2c4ac98c9f
Adds support for columns that act as incr/decr counters. Patch primarily by Kelvin Kakugawa with select parts from Chris Goffinet, Sylvain Lebresne, Rob Coli, Johan Oskarsson, Adam Samet, Jaakko Laine and more. Review by Jonathan Ellis and Sylvain Lebresne. CASSANDRA-1072.
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1051679 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 22:17:09 +00:00
Jonathan Ellis
96de7318bc
merge from 0.7
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1050756 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 03:42:10 +00:00
Brandon Williams
41c2ec0d1f
Reflect cassandra-rack -> cassandra-topology changes in conf and README.
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1050146 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 20:33:45 +00:00
Jonathan Ellis
4fe8af8ea3
merge from 0.7
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1043262 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08 01:08:32 +00:00
Jonathan Ellis
3a353f779c
add sample mx4j options to cassandra-env.sh
...
patch by Ran Tavory; reviewed by jbellis for CASSANDRA-1832
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1043259 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08 01:00:56 +00:00
Jonathan Ellis
69f95c15b7
add commented-out JVM_OPTS lines for GC logging
...
patch by mdennis; reviewed by jbellis for CASSANDRA-1807
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1041953 13f79535-47bb-0310-9956-ffa450edef68
2010-12-03 18:59:02 +00:00
Jonathan Ellis
ca8ab9ae71
merge from 0.7
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1041244 13f79535-47bb-0310-9956-ffa450edef68
2010-12-02 01:18:49 +00:00
Jonathan Ellis
d3b4d6b622
add flush for each append to periodiccommitlog mode; added periodic_without_flush option to disable this
...
patch by jbellis; reviewed by brandonwilliams for CASSANDRA-1780
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1040691 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 18:45:08 +00:00
Gary Dusbabek
84cd72b34d
merege from 0.7
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1038285 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 19:12:51 +00:00
Jonathan Ellis
b37328a090
require index_type to be present when specifying index_name
...
patch by Jon Hermes; reviewed by jbellis for CASSANDRA-1759
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1038208 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 17:11:57 +00:00
Gary Dusbabek
4ad8e26f2d
merge from 0.7
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1038200 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 16:53:59 +00:00
Jonathan Ellis
87f519c79d
revert stuff not supposed to be part of r1037113
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1037114 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 05:29:46 +00:00
Jonathan Ellis
6f51828ebc
replace != of reference with .equals
...
patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1037113 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 05:28:45 +00:00
Jonathan Ellis
bd841173ed
revert accidental commit of twissjava schema to default cassandra.yaml
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1037027 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 21:14:19 +00:00
Gary Dusbabek
94281e2ffe
update sample config for SeedProvider. patch by gdusbabek, reviewed by jbellis. CASSANDRA-1669
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1036551 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 17:34:15 +00:00
Jonathan Ellis
8ef5d50339
fix cli list + "assume CF keys as uuid."
...
patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1035418 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 19:23:04 +00:00
Jonathan Ellis
f203537094
update keyspace comments
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1035400 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 18:48:00 +00:00
Jonathan Ellis
8fde113b66
improve comments and add debug logging. patch by jbellis
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1032456 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 03:21:49 +00:00
Eric Evans
79f6512106
make -Djava.net.preferIPv4Stack=true default
...
Patch by eevans for CASSANDRA-628
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1028914 13f79535-47bb-0310-9956-ffa450edef68
2010-10-29 21:39:30 +00:00
Jonathan Ellis
729022c655
remove preload_row_cache option
...
patch by jbellis; reviewed by brandonwilliams for CASSANDRA-1647
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1026429 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 17:54:44 +00:00
Eric Evans
e5f232ed31
actual working log4j rotation
...
Patch by eevans
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1023873 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:57:07 +00:00
Brandon Williams
bb0dc512d8
Make memtable flush thresholds per-CF instead of global. Patch by Jon Hermes, reviewed by brandonwilliams for CASSANDRA-1007
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1023036 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 17:42:57 +00:00
Jonathan Ellis
0f89876424
forward-port CASSANDRA-1481. originally thought it was a non-issue in 0.7 because of endpoint caching in Strategy, but getRack/getDatacenter are still called by sortByProximity in StorageProxy. patch by jbellis
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1022690 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 20:17:47 +00:00
Brandon Williams
c47d780921
Add badness threshold to the dynamic snitch for replica 'pinning'. Patch by brandonwilliams, reviewed by jbellis for CASSANDRA-1519
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1022221 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 18:14:52 +00:00
Jonathan Ellis
74c999d359
update listen_address, rpc_address comments
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1021809 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 15:55:30 +00:00
Jonathan Ellis
5c44cc166e
merge from 0.6
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1005317 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 02:24:22 +00:00
Eric Evans
043bc829ba
document authorization changes
...
Patch by eevans for CASSANDRA-1554
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1005083 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 15:19:28 +00:00
Eric Evans
67198f00bc
refactor SimpleAuthority for CF resources
...
Patch by eevans; reviewed by Stu Hood for CASSANDRA-1554
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1005079 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 15:19:07 +00:00
Eric Evans
bc9c5dfa82
squelch output from shell include (config)
...
It's bad form to have output from an include like this. If it is
critical that the user be made aware of the heap size (I'm not sure
it is), then it should either be logged from the application or
echoed from bin/cassandra (though the latter is still a bad idea).
Patch by eevans
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1003202 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 18:49:48 +00:00
Jonathan Ellis
c4e02d393a
merge from 0.6
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1002672 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 15:21:48 +00:00
Eric Evans
0cb207f83d
Make SimpleAuthority aware of the keyspace list resource.
...
Patch by Stu Hood; reviewed by eevans for CASSANDRA-1271
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1002401 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 23:00:54 +00:00
Jonathan Ellis
17cbb3daa5
sanity checks for compaction thresholds.
...
patch by jhermes; reviewed by jbellis for CASSANDRA-1527
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1001929 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 22:10:42 +00:00
Jonathan Ellis
60e97bbfeb
create EndpointSnitchInfo and MBean to expose rack and DC.
...
patch by Nirmal Ranganathan; reviewed by jbellis for CASSANDRA-1491
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1001912 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 21:02:32 +00:00
Jonathan Ellis
efe4bb3141
make IndexInterval configurable. patch by jhermes; reviewed by jbellis for CASSANDRA-1488
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1001119 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 01:31:12 +00:00
Jonathan Ellis
93d3a22e10
Add weighted request scheduler. patch by Jeremy Hanna; reviewed by Stu Hood for CASSANDRA-1485
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1000640 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 21:42:01 +00:00
Jonathan Ellis
ce9179ed53
Change Strategy to generate List of endpoints instead of Set to preserve order. Document that SimpleSnitch maintains that order.
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@999571 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 19:40:54 +00:00
Jonathan Ellis
d966ed0861
r/m Clock from Thrift api. patch by jbellis; reviewed by slebresne for CASSANDRA-1501
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@999542 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 18:56:23 +00:00
Jonathan Ellis
267c76a655
min,max compaction threshold are configurable and persistent per-ColumnFamily. patch by Jon Hermes; reviewed by jbellis for CASSANDRA-1468
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@998558 13f79535-47bb-0310-9956-ffa450edef68
2010-09-18 22:08:06 +00:00
Jonathan Ellis
c6f383ceb1
add options to configure Thrift socket keepalive and buffer sizes
...
patch by Erik Onnen and jbellis for CASSANDRA-1424
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@998432 13f79535-47bb-0310-9956-ffa450edef68
2010-09-18 10:01:40 +00:00
Brandon Williams
f75f107878
only attempt to set thread stack size on Linux. Patch by Peter Schuller, reviewed by brandonwilliams for CASSANDRA-1508
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@997748 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 13:42:16 +00:00
Brandon Williams
6f9b083447
make adaptive heap size calculation portable. Patch by Peter Schuller, reviewed by brandonwilliams for CASSANDRA-1507
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@997486 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 20:36:58 +00:00
Brandon Williams
0191b2819b
Adaptively set the heap size and memtable thresholds at runtime. Patch by brandonwilliams, reviewed by jbellis for CASSANDRA-1469
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@997126 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 22:35:41 +00:00
Brandon Williams
3205d0b392
Add missing comments/options to cassandra.yaml. Patch by brandonwilliams, reviewed by jbellis for CASSANDRA-1390
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992680 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 21:07:11 +00:00
Brandon Williams
68313cdd2e
Fix typo in JVM opt in cassandra-env.sh. Patch by brandonwilliams
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992498 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 22:35:33 +00:00
Jonathan Ellis
95f017207d
merge from 0.6
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992333 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 15:41:47 +00:00
Jonathan Ellis
564628abf2
mention -Djava.rmi.server.hostname in cassandra-env
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@990887 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 18:14:10 +00:00
Eric Evans
f51781533d
Add configuration for IAuthority, and handle SimpleAuthenticator upgraders
...
Patch by Stu Hood; reviewed by eevans for CASSANDRA-1237
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@989364 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 20:41:30 +00:00
Jonathan Ellis
d28cab41a0
Add CfDef.default_validation_class. patch by jhermes; reviewed by jbellis for CASSANDRA-891
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@989344 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 20:25:49 +00:00
Jonathan Ellis
fdd427fdd6
add XX:CMSInitiatingOccupancyFraction=80 to default GC options; add comments to thread priority options. patch by jbellis
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@989105 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 13:47:14 +00:00
Brandon Williams
312aaf0f56
Expose compaction thread priority in yaml, make default MIN_PRIORITY, add needed JVM opts. Patch by brandonwilliams, reviewed by jbellis for CASSANDRA-1181
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@988348 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 22:58:51 +00:00
Eric Evans
c8b5171dd3
use conf/cassandra-env.sh in place of defaults
...
Patch by eevans; reviewed by Brandon Williams for CASSANDRA-1407
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@986940 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 21:09:59 +00:00
Jonathan Ellis
4cd3e3af5a
merge from 0.6
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@986898 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 20:04:22 +00:00
Jonathan Ellis
4a9f1e214a
add example CF using 2ary indexes. patch by jbellis
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@986484 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 21:03:25 +00:00
Jonathan Ellis
43383be219
revert switch to yamlbeans. patch by jbellis; reviewed by Jon Hermes for CASSANDRA-1394
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@986039 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 16:49:37 +00:00
Jonathan Ellis
916c810b54
rename RackAwareStrategy to OldNetworkTopologyStrategy, RackUnawareStrategy to SimpleStrategy, DatacenterShardStrategy to NetworkTopologyStrategy, AbstractRackAwareSnitch to AbstractNetworkTopologySnitch
...
patch by jbellis; reviewed by brandonwilliams for CASSANDRA-1392
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@985701 13f79535-47bb-0310-9956-ffa450edef68
2010-08-15 16:16:58 +00:00
Jonathan Ellis
1defd006c3
add back percentage option for cache size configuration, and replace SnakeYAML with YamlBeans. patch by Jon Hermes; reviewed by jbellis for CASSANDRA-1313
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@985264 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 16:20:18 +00:00
Jonathan Ellis
38640c7a24
note that unframed mode is deprecated
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@984924 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 19:26:42 +00:00
Eric Evans
6f2a92bdaa
move JVM_OPTS from cassandra.in.sh to the conf/ dir
...
Patch by Nick Bailey; review by eevans for CASSANDRA-1347
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@982845 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 01:25:07 +00:00
Eric Evans
05ba306d84
datacenter.properties no longer neeeded
...
Patch by eevans for CASSANDRA-1066
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@981071 13f79535-47bb-0310-9956-ffa450edef68
2010-07-31 15:42:38 +00:00
Eric Evans
df8a93358c
configurable options for replication strategies
...
Patch by Jeremy Hanna; review by eevans for CASSANDRA-1066
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@981069 13f79535-47bb-0310-9956-ffa450edef68
2010-07-31 15:42:27 +00:00
Jonathan Ellis
170bd4d0a0
merge from 0.6
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@981066 13f79535-47bb-0310-9956-ffa450edef68
2010-07-31 15:16:38 +00:00
Gary Dusbabek
de5715e14f
revert 980215, 980217, 980220, 980222, 980225, 980226. CASSANDRA-1237
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@980554 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 19:53:36 +00:00
Gary Dusbabek
3f9f50725b
new IAuthenticator interface. patch by stuhood, reviewed by gdusbabek. CASSANDRA-1237
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@980222 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 21:01:57 +00:00
Jonathan Ellis
3a044a9140
add IntegerType for arbitrary-length integers. patch by Folke Behrens; reviewed by mdennis and jbellis for CASSANDRA-1282
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@979784 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 17:46:28 +00:00
Jonathan Ellis
395c3caa0c
make GCGraceSeconds configurable per-columnfamily. patch by Jon Hermes; reviewed by jbellis for CASSANDRA-1276
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@967187 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 18:18:07 +00:00
Brandon Williams
ebfc695143
DynamicEndpointSnitch improvements, make it the default. Patch by brandonwilliams; reviewed by jbellis for CASSANDRA-1296
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@965685 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 23:54:12 +00:00
Jonathan Ellis
0b0c523581
make framed transport the default so malformed requests can't OOM the server. patch by Nate McCall; reviewed by jbellis for CASSANDRA-475
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@964274 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 01:37:40 +00:00
Brandon Williams
bf552ef889
Reorder snitch config.
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@964095 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 16:36:30 +00:00
Brandon Williams
eb3dc8052c
Remove obsolete flush_index_buffer_size_in_mb config param
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@963316 13f79535-47bb-0310-9956-ffa450edef68
2010-07-12 15:15:31 +00:00
Jonathan Ellis
fc73007f3d
avoid double-copy of flushed data by serializing directly to output file. patch by jbellis; reviewed by mdennis for CASSANDRA-270
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@963159 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11 23:07:50 +00:00
Brandon Williams
67c57208ab
Dynamic snitch to adaptively avoid reading from slow nodes. Patch by brandonwilliams; reviewed by jbellis for CASSANDRA-981
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@962720 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 23:07:00 +00:00
Jonathan Ellis
0da82f321c
implement keyspace round-robin scheduler. patch by Nirmal Ranganathan; reviewed by Stu Hood and jbellis for CASSANDRA-1035
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@962675 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 19:58:21 +00:00
Jonathan Ellis
d1dda89e8c
merge from 0.6
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@961780 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08 14:14:46 +00:00
Jonathan Ellis
0ed749425c
make row size at which to drop to incremental compaction configurable
...
patch by jbellis; reviewed by Stu Hood for CASSANDRA-16
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955271 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 15:27:32 +00:00
Jonathan Ellis
dfd211d463
set auto_bootstrap back to false, with comment on reasoning. patch by jbellis
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@950328 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 01:21:06 +00:00
Johan Oskarsson
7860b138e3
Add support for reconciler classes that decide how to resolve conflicting columns. Patch by Kelvin Kakugawa and johan, review by jbellis. CASSANDRA-1144
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@950099 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 15:03:48 +00:00
Jonathan Ellis
95a03671ba
make CFS.flushWriter_ size configurable. patch by Brandon Williams; reviewed by jbellis for CASSANDRA-1099
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@949904 13f79535-47bb-0310-9956-ffa450edef68
2010-05-31 23:52:12 +00:00
Jonathan Ellis
101b210280
undo setting log4j root to INFO
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@949095 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 03:59:20 +00:00
Jonathan Ellis
b91c4d406b
Expose setting of phi in the FailureDetector, for trunk. patch by Brandon Williams; reviewed by jbellis for CASSANDRA-1053
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@948052 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 14:12:27 +00:00
Jonathan Ellis
00cf048905
document DatacenterShardStrategy. patch by jbellis
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@947889 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 01:17:27 +00:00
Jonathan Ellis
5a45534c27
make DCQUORUM CLs actually wait for the nodes per DC rather than attempting a purely count-based approach that didn't really work as advertised. patch by Vijay Parthasarathy and jbellis; reviewed by Jeremy Hanna for CASSANDRA-952
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@945333 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 19:58:39 +00:00
Jonathan Ellis
9387a5d705
auto_bootstrap now defaults to true. patch by jbellis
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@945181 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 14:35:09 +00:00
Gary Dusbabek
eb52c1500a
added a note to the keyspace definition in cassandra.yaml that indicates it will not be loaded.
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@943308 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 21:49:23 +00:00
Jonathan Ellis
d55ed91006
revert unreviewed patch to CASSANDRA-952
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@942842 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 18:53:49 +00:00
Jonathan Ellis
ef1895bb95
vijay
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@942840 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 18:52:38 +00:00
Jonathan Ellis
cb1ef76170
update javadoc for snitch and strategy classes. patch by jhanna; reviewed by jbellis for CASSANDRA-1055
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@942296 13f79535-47bb-0310-9956-ffa450edef68
2010-05-08 02:09:52 +00:00
Jonathan Ellis
d03ff00ec8
merge from 0.6
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@941371 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 16:29:26 +00:00
Jonathan Ellis
73a86fcdd0
revert changes to default sync period and rpc timeout. patch by jbellisp
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@939448 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 18:47:16 +00:00
Jonathan Ellis
b56db51883
add README for conf/ contents
...
patch by jbellis; reviewed by eevans for CASSANDRA-994
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@938569 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 17:06:18 +00:00
Jonathan Ellis
2acfb43599
move per-datacenter replication factor into datacenters.properties
...
patch by jbellis; reviewed by eevans for CASSANDRA-994
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@938568 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 17:06:04 +00:00
Jonathan Ellis
d338a977e3
rename preloadRowCache to preload_row_cache in yaml for consistency. patch by Vijay Parthasarathy; reviewed by jbellis for CASSANDRA-946
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@938058 13f79535-47bb-0310-9956-ffa450edef68
2010-04-26 14:29:49 +00:00
Jonathan Ellis
0724fe2f07
clean up comments in cassandra.yaml and update CHANGES
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@937592 13f79535-47bb-0310-9956-ffa450edef68
2010-04-24 04:43:56 +00:00
Jonathan Ellis
71c51f11dd
add row cache preload option
...
patch by Vijay Parthasarathy and jbellis for CASSANDRA-946
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@937591 13f79535-47bb-0310-9956-ffa450edef68
2010-04-24 04:30:48 +00:00
Jonathan Ellis
b37f7156c3
snitch and log4j level tweaks. patch by Stu Hood; reviewed by jbellis for CASSANDRA-1009
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@936587 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 00:58:17 +00:00
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