Commit Graph

192 Commits

Author SHA1 Message Date
Jonathan Ellis 07744ceac1 add row/key cache save periods to CfDef.
patch by Jon Hermes; reviewed by jbellis for CASSANDRA-1606

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1022209 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 17:40:56 +00:00
Brandon Williams 21913c5502 Remove ConsistencyLevel.ZERO. Patch by jbellis, reviewed by brandonwilliams for CASSANDRA-1607.
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1021852 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 17:33:53 +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
Gary Dusbabek f7f5877481 use avro includes and aliases in order to have less duplicated structures. patch by stuhood, reviewed by gdusbabek. CASSANDRA-1436
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1004678 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 15:43:41 +00:00
Eric Evans a62d9785cf Add authorization to describe_keyspace(s) and change Thrift exceptions.
Patch by Stu Hood; reviewed by eevans for CASSANDRA-1271

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1002402 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 23:01:03 +00:00
Jonathan Ellis 8b38ee2806 add describe_snitch to Thrift api.
patch by jhermes; reviewed by jbellis for CASSANDRA-1490


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1001332 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 23:56:55 +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 ec0316708b change multiget back to list, for now. patch by jbellis for CASSANDRA-1329
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@998435 13f79535-47bb-0310-9956-ffa450edef68
2010-09-18 10:08:49 +00:00
Jonathan Ellis 283a428d6a remove defaults from CfDef subcomparator_type, reconciler, and comment (while keeping them optional).
patch by Jon Hermes; reviewed by Jeremy Hanna for CASSANDRA-1480

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@996651 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 19:22:43 +00:00
Jonathan Ellis 9d95281270 regenerate thrift code. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@995280 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 23:10:44 +00:00
Jonathan Ellis 780a58a9d0 rename check_schema_agreement to describe_schema_versions. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@995108 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 15:49:28 +00:00
Jonathan Ellis ec7476c58d remove keyspace from describe_splits method. patch by Jeremy Hanna; reviewed by jbellis for CASSANDRA-1425
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@995086 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 15:14:53 +00:00
Jonathan Ellis 8c5069fba2 support for Hadoop Streaming [non-jvm map/reduce via stdin/out]. patch by Stu Hood; reviewed by jbellis for CASSANDRA-1368
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992475 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 21:20:10 +00:00
Gary Dusbabek 44733f013a avro update ks and cf implementations. patch by gdusbabek, reviewed by stuhood. CASSANDRA-1285
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992454 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 20:25:06 +00:00
Gary Dusbabek 4ae579639b thrift changes for updating keyspaces and column families. patch by gdusbabek, reviewed by stuhood. CASSANDRA-1285
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992451 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 20:24:38 +00:00
Jonathan Ellis f795534553 change list<binary> keys to set<binary> in multiget. patch by Jon Hermes; reviewed by jbellis for CASSANDRA-1329
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992355 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 16:23:57 +00:00
Eric Evans 78a68f2675 avro: make ConsistencyLevel required for consistency
And add missing exceptions to protocol schema.

Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992043 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 18:22:44 +00:00
Brandon Williams e696035f61 avro: get_range_slices implementation. Patch by Jeremy Hanna, reviewed by brandonwilliams
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992001 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 16:17:21 +00:00
Eric Evans 84bc8e6561 avro: get_indexed_slices implementation
Patch by Nick Bailey; reviewed by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991701 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 20:53:49 +00:00
Eric Evans e0b5e87484 avro: describe_splits implementation
Patch by Jeremy Hanna; reviewed by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991650 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 18:57:26 +00:00
Eric Evans d40f112aab avro: describe_ring, check_schema_agreement, and truncate
Patch by Nirmal Ranganathan; reviewed by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991622 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 17:50:50 +00:00
Gary Dusbabek ede60f9f46 avro impls for system_drop_keyspace and system_rename_keyspace
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991589 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 16:20:12 +00:00
Eric Evans 94c45e7107 login method implementation for avro rpc
Patch by Nick Bailey (w/ minor changes); reviewed by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991586 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 16:16:08 +00:00
Eric Evans 1c123a1b27 multiget_count implementation for avro
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991580 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 15:58:44 +00:00
Gary Dusbabek 441450395e bring avro system_add_keyspace on par with thrift
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991560 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 15:04:05 +00:00
Eric Evans 4e410c9d1c Remove AccessLevel from the client API
Patch by Stu Hood; reviewed by eevans for CASSANDRA-1320

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@990943 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 21:14:23 +00:00
Jonathan Ellis ea6fb4695e default validation_class to null for compatibility w/ 0.7 beta1. patch by Jon Hermes; reviewed by Stu Hood for CASSANDRA-891
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@990246 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 20:06:52 +00:00
Eric Evans a455a8dca9 Remove AccessLevel return value from login, since authorization will be moving to call-time
Patch by Stu Hood; reviewed by eevans for CASSANDRA-1237

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@989361 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 20:41:10 +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 72b436769a remove keyspace argument from multiget_count. patch by Jon Hermes; reviewed by jbellis for CASSANDRA-1422
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@988575 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 14:44:42 +00:00
Eric Evans ac57d9d082 avro implementation of describe_partitioner()
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@987677 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21 00:26:35 +00:00
Eric Evans c92d3ee82c several new avro rpc method implementations
Patch by Antoine Toulme w/ some changes by eevans for CASSANDRA-1238

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@987640 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 21:30:59 +00:00
Jonathan Ellis 838ea5bcbf Revert 'per-connection read-your-writes "session" consistency'
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@986783 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 16:44:41 +00:00
Jonathan Ellis 35ee5347f8 per-connection read-your-writes "session" consistency. patch by Brian Palmer; reviewed by jbellis for CASSANDRA-876
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@986781 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 16:40:42 +00:00
Jonathan Ellis 283e365196 allow compound index clauses to include non-EQ operators. patch by jbellis; reviewed by eevans for CASSANDRA-1401
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@986488 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 21:21:51 +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 ed9f7909fc describe_keyspace includes CfDef information. patch by Jon Hermes; reviewed by jbellis for CASSANDRA-1363
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@984901 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 18:29:46 +00:00
Jonathan Ellis 49f34a25fe thrift changes for 1156
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@981913 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 15:03:33 +00:00
Jonathan Ellis 1b5577b254 handle index scans across multiple nodes and consistency levels
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@981906 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 14:58:14 +00:00
Gary Dusbabek 00c108a1a5 internode structures for migrations. changes migration disk format. patch by stuhood, reviewed by gdusbabek. CASSANDRA-1308
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@981645 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 18:18:40 +00:00
Eric Evans f3516171e1 regenerated thrift code
Patch by eevans for CASSANDRA-1066

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@981070 13f79535-47bb-0310-9956-ffa450edef68
2010-07-31 15:42:34 +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
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 c213967e43 put access structures in KsDef. patch by stuhood, reviewed by gdusbabek. CASSANDRA-1237
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@980217 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 21:01:39 +00:00
Jonathan Ellis e4f579f717 merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@979335 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 16:04:06 +00:00
Jonathan Ellis 4fb3d18641 r/m bitmask predicates. patch by jbellis; reviewed by gdusbabek for CASSANDRA-1312
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@979139 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 03:00:08 +00:00
Jonathan Ellis 16a1951ec8 run gen-thrift-java to update thrift Constants.java
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@967193 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 18:34:27 +00:00
Jonathan Ellis e45966fbd7 rename 'table' to 'keyspace' in thrift CfDef class.
patch by Stu Hood and Jon Hermes; reviewed by jbellis for CASSANDRA-1287


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@967192 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 18:33:24 +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