Commit Graph

211 Commits

Author SHA1 Message Date
Eric Evans 4dfe8eadec thrift generated code
Patch by eevans; reviewed by brandon.williams for CASSANDRA-2334


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1081971 13f79535-47bb-0310-9956-ffa450edef68
2011-03-15 22:52:10 +00:00
Eric Evans a330e4a0a2 add SchemaDisagreementException RPC exception
Patch by eevans for CASSANDRA-2334; reviewed by brandon.williams


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1081970 13f79535-47bb-0310-9956-ffa450edef68
2011-03-15 22:51:40 +00:00
T Jake Luciani ab5a8c77e4 Use UUID as node identifiers in counters instead of IP addresses
Patch by Sylvain Lebresne; Reviewed by T Jake Luciani for CASSANDRA-1938



git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080345 13f79535-47bb-0310-9956-ffa450edef68
2011-03-10 20:54:50 +00:00
Jonathan Ellis da936f5fe3 merge from 0.7
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1078194 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 22:52:03 +00:00
Jonathan Ellis 0d6db4a68f add CL.TWO, THREE
patch by Peter Schuller; reviewed by tjake for CASSANDRA-2013

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1078134 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 21:08:21 +00:00
Eric Evans 718954fe26 raise IRE for null keyspace
Patch by eevans; reviewed by jbellis for CASSANDRA-2251


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1074714 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 22:06:24 +00:00
Jonathan Ellis 804729f1ee add delete support for counters
patch by Kelvin Kakugawa; reviewed by slebresne for CASSANDRA-2101

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1067391 13f79535-47bb-0310-9956-ffa450edef68
2011-02-05 05:13:50 +00:00
Eric Evans 9696928064 move remaining avro records to hadoop package
Patch by eevans; reviewed by Jeremy Hanna for CASSANDRA-926

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1059460 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 04:06:08 +00:00
Eric Evans 0386c2ccf3 don't build schema for rpc interface
Patch by eevans; reviewed by Jeremy Hanna for CASSANDRA-926

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1059455 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 04:05:44 +00:00
Eric Evans 5630e15e28 (thrift )compiler generated code
Patch by eevans; reviewed by jbellis for CASSANDRA-1913

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1054139 13f79535-47bb-0310-9956-ffa450edef68
2010-12-31 17:24:38 +00:00
Eric Evans aae1f03f4d move RPC code generation avro -> thrift
Patch by eevans; reviewed by jbellis for CASSANDRA-1913

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1054138 13f79535-47bb-0310-9956-ffa450edef68
2010-12-31 17:24:30 +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
Eric Evans 0939780a0c SELECT COUNT(...) FROM support
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1034538 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 19:33:06 +00:00
Eric Evans f6deb516ae (mostly )working SELECT; (barely )working UPDATE
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1029356 13f79535-47bb-0310-9956-ffa450edef68
2010-10-31 14:35:36 +00:00
Jonathan Ellis c75abc8e56 renamed CL.DCQUORUM to LOCAL_QUORUM and DCQUORUMSYNCto EACH_QUORUM. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1027174 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 16:00:56 +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
Jonathan Ellis e7a385ac3f tjake
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1026200 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 03:23:26 +00:00
Gary Dusbabek 3105b2df18 remvove system_rename* methods from API. thift/avro changes. patch by gdusbabek, reviewed by jbellis. CASSANDRA-1630
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1024242 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 14:23:24 +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 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