Commit Graph

3510 Commits

Author SHA1 Message Date
Gary Dusbabek 7a30116632 fix build. make serializations tests do cleanup before running.
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1081549 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 20:30:12 +00:00
Gary Dusbabek dbf795c41f make RowMetaData typed
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1081543 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 19:46:42 +00:00
Gary Dusbabek f8203c8700 RowData exposes sparse column attributes through CassandraResultSet
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1081542 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 19:46:36 +00:00
Eric Evans 404301ec37 more flexible keyword argument specification
Patch by eevans for CASSANDRA-2027

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1081538 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 19:42:52 +00:00
Eric Evans 650039220b don't let antlr try to recover on bad input, always throw
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080774 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 21:57:12 +00:00
Eric Evans 5039b01865 add license header to cql system tests
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080773 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 21:57:07 +00:00
Eric Evans d0f1835d19 more flexible keyspace/column family specifications
Patch by eevans for CASSANDRA-2027

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080772 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 21:57:04 +00:00
Jonathan Ellis 1946cfdfdd AES Counter Repair Improvements
patch by Alan Liang; reviewed by slebresne for CASSANDRA-2288

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080703 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 17:54:08 +00:00
Jonathan Ellis 7e8e6d3085 merge from 0.7
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080702 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 17:53:02 +00:00
Jonathan Ellis 7bc35b88ff purge tombstoned rows from cache after GCGraceSeconds
patch by slebresne; reviewed by jbellis for CASSANDRA-2305

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1080577 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 14:25:49 +00:00
Jonathan Ellis b934e1eca8 reduce memory use during streaming of multiple sstables
patch by jbellis; reviewed by mdennis and tested by Joaquin Casares for CASSANDRA-2301

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1080433 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 02:57:15 +00:00
Jonathan Ellis e40b07dc29 simplify ascii validation
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1080346 13f79535-47bb-0310-9956-ffa450edef68
2011-03-10 20:56:57 +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
Brandon Williams 2c9fb38e14 Only require pig env vars to be set on the machine launching pig.
Patch by Eldon Stegall, reviewed by brandonwilliams for CASSANDRA-2310

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1080343 13f79535-47bb-0310-9956-ffa450edef68
2011-03-10 20:47:21 +00:00
Jonathan Ellis 1a5d09c356 merge from 0.7
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080338 13f79535-47bb-0310-9956-ffa450edef68
2011-03-10 20:28:17 +00:00
T Jake Luciani a7e8d6e2a8 Add counter support to stress tool
Patch by Sylvain Lebresne; reviewed by Pavel Yaskevich and Jake Luciani for CASSANDRA-2299



git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080314 13f79535-47bb-0310-9956-ffa450edef68
2011-03-10 18:44:36 +00:00
Jonathan Ellis 45766ede2e include secondary index CFs when deciding which CFs to flush under memory pressure
patch by jbellis; tested by Matt Conway for CASSANDRA-2295

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1080310 13f79535-47bb-0310-9956-ffa450edef68
2011-03-10 18:38:03 +00:00
Jonathan Ellis c7df15da53 fix fd leak in sstable2json with non-mmap'd i/o
patch by jbellis; reviewed by Pavel Yaskevich for CASSANDRA-2304

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1080286 13f79535-47bb-0310-9956-ffa450edef68
2011-03-10 17:13:16 +00:00
Eric Evans c361d204ae allow IDENT token as relaxed form of string literal
Patch by eevans for CASSANDRA-2027

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080284 13f79535-47bb-0310-9956-ffa450edef68
2011-03-10 17:11:29 +00:00
Eric Evans 5996eb5d4b empty term no longer makes sense for TimeUUID
Patch by eevans for CASSANDRA-2027

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080283 13f79535-47bb-0310-9956-ffa450edef68
2011-03-10 17:11:24 +00:00
Eric Evans 20082c5db6 remove timeuuid term type
Patch by eevans for CASSANDRA-2027

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080282 13f79535-47bb-0310-9956-ffa450edef68
2011-03-10 17:11:18 +00:00
Eric Evans c4b4109f24 cleanup cruft left behind after refactorings
Patch by eevans for CASSANDRA-2027

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080255 13f79535-47bb-0310-9956-ffa450edef68
2011-03-10 15:46:14 +00:00
Eric Evans 7ff0eae226 remove unicode term type
Patch by eevans for CASSANDRA-2027

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080254 13f79535-47bb-0310-9956-ffa450edef68
2011-03-10 15:45:59 +00:00
Eric Evans 64a71547b0 remove incremental backups between runs
This is crap, but without it consecutive test runs fail when we try
to create a link for a target that already exists.

Patch by eevans for CASSANDRA-2027


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080098 13f79535-47bb-0310-9956-ffa450edef68
2011-03-10 01:40:57 +00:00
Eric Evans ddcf6855af enable commented BytesType tests missed in earlier commit
Patch by eevans for CASSANDRA-2027


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080097 13f79535-47bb-0310-9956-ffa450edef68
2011-03-10 01:40:41 +00:00
Brandon Williams b455745738 Rename pig jar from loadfunc to storage to reflect it supports both
reading and writing.
Patch by Jeremy Hanna, reviewed by brandonwilliams for CASSANDRA-2303

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1080090 13f79535-47bb-0310-9956-ffa450edef68
2011-03-10 01:10:07 +00:00
Eric Evans cea86b62a5 update JDBC driver and tests for BytesType columns
Patch by eevans for CASSANDRA-2027

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080028 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 22:00:48 +00:00
Eric Evans b5ad6a0335 column families of expected type (JDBC tests)
Patch by eevans for CASSANDRA-2027

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080026 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 22:00:40 +00:00
Eric Evans df235c12cc handle NumberFormatExceptions from BytesType.fromString
Patch by eevans for CASSANDRA-2027

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080025 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 22:00:36 +00:00
Eric Evans ef6c4834ed create column families of expected type (tests)
Patch by eevans for CASSANDRA-2027

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080024 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 22:00:30 +00:00
Eric Evans 57b83afa0d use AbstractType.fromString methods to marshal to BB
Patch by eevans for CASSANDRA-2027

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080023 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 22:00:25 +00:00
Eric Evans c07088f755 remove long term type
Patch by eevans for CASSANDRA-2027

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080022 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 22:00:19 +00:00
Eric Evans 1d50f5f378 uuid term type (hyphenated hex string)
Patch by eevans for CASSANDRA-2027

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080021 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 22:00:12 +00:00
Eric Evans 1bcf1bf739 CASSANDRA-2027 single-quoted string literals
Patch by eevans for CASSANDRA-2027

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080020 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 22:00:04 +00:00
Jonathan Ellis 21622125f3 fix commitlog replaywhen flush position refers to data thatdidnt
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1079989 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 20:52:03 +00:00
Jonathan Ellis 054d374428 revert un-revied SSTableWriter changes
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1079985 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 20:44:34 +00:00
Jonathan Ellis 97e82b194d add ant.test.failure.ignore property to optionally allow codecoverage to complete even if tests error out
patch by Stephen Connolly; tested by jbellis for CASSANDRA-2298

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1079984 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 20:43:55 +00:00
Gary Dusbabek 63410fe0fd move all java cql into jdbc package and only expose a few bits. patch by gdusbabek, reviewed by eevans. CASSANDRA-2124
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1079977 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 20:23:40 +00:00
Gary Dusbabek 37feea22fb more comments in ColumnDecoder. patch by gdusbabek, reviewed by eevans. CASSANDRA-2124
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1079976 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 20:23:23 +00:00
Gary Dusbabek 6edca314f0 implements getXXX methods to return values of the correct types. rearranges the JdbcDriverTest. renames SchemaDecoder. patch by gdusbabek, reviewed by eevans. CASSANDRA-2124
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1079975 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 20:23:10 +00:00
Gary Dusbabek 07ca8f6196 clean up JdbcDriverTest. patch by gdusbabek, reviewed by eevans. CASSANDRA-2124
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1079974 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 20:22:55 +00:00
Gary Dusbabek ca062168e1 first pass at column decoding. patch by gdusbabek, reviewed by eevans. CASSANDRA-2124
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1079973 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 20:22:45 +00:00
Jonathan Ellis 88631680ed merge from 0.7
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1079952 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 19:23:53 +00:00
Jonathan Ellis 5040f8efe1 add test for #2296
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1079882 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 16:57:14 +00:00
Gary Dusbabek 5dc407716c force time zone to eastern in RoundTripTest
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1079849 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 15:43:37 +00:00
Jonathan Ellis 4618b41ea9 fix #2 for counter replication NPE
patch by Stu Hood; reviewed by slebresne for CASSANDRA-2289

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1079833 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 15:24:24 +00:00
Jonathan Ellis 51d3b94da6 update CHANGES for CASSANDRA-2282 that got committed already (in r1079812 I think)
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1079821 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 14:58:22 +00:00
Jonathan Ellis 0087c38a26 avoid writing empty rows when scrubbing tombstoned rows
patch by jbellis; reviewed by slebresne for CASSANDRA-2296

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1079816 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 14:36:59 +00:00
Jonathan Ellis 942a432cc3 revert prematurely-applied patch for #2295
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1079815 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 14:32:25 +00:00
Jonathan Ellis fc4502acf0 revert r1078803 (#1902)
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1079812 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 14:27:46 +00:00