Commit Graph

1739 Commits

Author SHA1 Message Date
Eric Evans 2eff79094e redhat init script needed for rpm packaging
Patch by Peter Halliday; reviewed by eevans for CASSANDRA-1201

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@956078 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 18:23:18 +00:00
Jonathan Ellis aadfa6a334 Stream sstables without anticompaction
patch by Stu Hood; reviewed by jbellis for CASSANDRA-579


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955923 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 10:29:54 +00:00
Jonathan Ellis e34bc868d0 Extract index/filter writing into IndexWriter; add recovery for non-essential sstable components; only send the datafile when streaming
patch by Stu Hood; reviewed by jbellis for CASSANDRA-579


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955840 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 05:33:44 +00:00
Jonathan Ellis d0056e8ef2 fix buggy assert in SSTableUtils. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955833 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 04:20:51 +00:00
Jonathan Ellis 1067d37302 extract SSTable.Descriptor to top-level class. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955832 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 04:19:27 +00:00
Jonathan Ellis 5d7bdca55c move version checks into Descriptor. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955831 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 04:17:31 +00:00
Eric Evans ad838b00a5 bring avro up to date w/ CfDef.read_repair_chance
And, use CFMetaData defaults in place of those in CassandraServer.

Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955827 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 03:41:25 +00:00
Jonathan Ellis bd7a052ae6 bump thrift VERSION for read_repair_chance change. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955822 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 03:22:11 +00:00
Eric Evans 5a45c55101 refactor internal slice methods
Moved return types to faux-map (list of records) to avoid useless
conversions to <--> from.

Patch eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955760 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 21:57:55 +00:00
Eric Evans 86af3709ea avro multget_slice() + functional tests
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955759 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 21:57:50 +00:00
Eric Evans b10562b003 return ByteBuffer instead of byte[] from internal methods
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955758 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 21:57:43 +00:00
Eric Evans e24a9aad46 get_count() for avro + system tests
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955717 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 19:59:29 +00:00
Eric Evans 9e63ce251a get_slice() implementation for avro + system tests
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955675 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 17:14:25 +00:00
Jonathan Ellis b759ed10a8 merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955484 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 05:26:56 +00:00
Eric Evans 2e36c660b0 make cassandra.genavro the canonical proto schema
cassandra.avpr has been removed from version control is now generated
from cassandra.genavro by ant. Future changes to the protocol schema
should take place in cassandra.genavro; do not hand-edit the .avpr

Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955358 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 19:38:34 +00:00
Jonathan Ellis b6e8b98993 hadoop outputformat. patch by Karthick Sankarachary; reviewed by Stu Hood and jbellis for CASSSANDRA-1101
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955347 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 18:56:57 +00:00
Eric Evans 605b67deaf better use of new utility funcs in avro system tests
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955287 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 16:16:29 +00:00
Eric Evans 059e5f166b working batch_mutate() for avro server w/ tests
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955286 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 16:16:25 +00:00
Eric Evans 67be06a7d2 upgrade to avro 1.3.3
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955285 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 16:16:18 +00:00
Jonathan Ellis eb1466330a update CHANGES
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955274 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 15:32:51 +00:00
Jonathan Ellis 72854b4283 do more in constructor of SSTableIdentityIterator to reduce the number of methods that have to seek
patch by jbellis; reviewed by Stu Hood for CASSANDRA-16


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955272 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 15:27:40 +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 9c06e53806 make row size 64 bits
patch by jbellis; reviewed by Stu Hood for CASSANDRA-16



git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955268 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 15:27:17 +00:00
Jonathan Ellis 35db73cf75 add LazilyCompactedRow
patch by jbellis; reviewed by Stu Hood for CASSANDRA-16



git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955267 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 15:27:05 +00:00
Jonathan Ellis 034e7a07b8 r/m 'object count' abomination. fix BF serialization to only use top-level columns (since those are the only ones it's ever checked for)
patch by jbellis; reviewed by Stu Hood for CASSANDRA-16


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955265 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 15:26:53 +00:00
Jonathan Ellis 7665b762a9 make single pass over columns for indexing
patch by jbellis; reviewed by Stu Hood for CASSANDRA-16



git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955264 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 15:26:43 +00:00
Jonathan Ellis d5968e6b60 introduce AbstractCompactedRow, PrecompactedRow
patch by jbellis; reviewed by Stu Hood for CASSANDRA-16


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955263 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 15:26:35 +00:00
Jonathan Ellis d8755b3a13 clean up of TokenMetadata and ARS. patch by mdennis; reviewed by jbellis for CASSANDRA-1194
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955060 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 21:32:30 +00:00
Eric Evans 4b4762e30b added remove() implementation to avro-based server
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955050 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 20:57:22 +00:00
Eric Evans bfd9ce9b39 remove deprecated (and non-working) batch_insert()
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955049 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 20:57:16 +00:00
Eric Evans 3cc4ee3df2 fixed NullPointerException in reconciler setup
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955002 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 19:10:13 +00:00
Jonathan Ellis 48ed0496a2 update RAS javadoc to clarify that only the 3rd replica actually cares about rack placement. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@954988 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 18:02:53 +00:00
Jonathan Ellis 47237ec23e r/m unused code. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@954987 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 18:02:50 +00:00
Jonathan Ellis 7cabd731af merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@954938 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 15:45:07 +00:00
Jonathan Ellis 32273ec3a0 upgrade from google-collections to guava. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@954935 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 15:41:25 +00:00
Gary Dusbabek 2797a473f9 begin process of consolidating common parts of CassandraDaemon. Patch by Karthick Sankarachary, reviewed by Gary Dusbabek. CASSANDRA-1131
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@954928 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 15:04:46 +00:00
Gary Dusbabek 608b8cf57e avoid constructor proliferation in CFM. Patch by gdusbabek, reviewed by jbellis. CASSANDRA-1180
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@954918 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 14:51:01 +00:00
Gary Dusbabek 78efa02458 add read_repair_chance to CfDef. Patch by gdusbabek, reviewed by jbellis. CASSANDRA-1180
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@954917 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 14:50:49 +00:00
Jonathan Ellis 442b197560 merge {SSTable,RowIndexed}Reader, {SSTable,RowIndexed}Scanner
patch by jbellis; reviewed by gdusbabek for CASSANDRA-1127


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@954875 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 13:29:07 +00:00
Jonathan Ellis 1768ccd676 avoid allowing endpoints computed from old token map to persist after clearCachedEndpoints. patch by mdennis and jbellis for CASSANDRA-1147
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@954664 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 22:41:25 +00:00
Jonathan Ellis 34e241accd Fix bootstrap with DSS and add endpoint caching.
patch by mdennis and jbellis for CASSANDRA-1147

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@954657 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 21:53:09 +00:00
Jonathan Ellis ff533ad156 convert RackAwareStrategyTest newlines to \n
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@954605 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 19:36:40 +00:00
Gary Dusbabek fc9d51e7be merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@954582 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 18:39:12 +00:00
Jonathan Ellis a4cfabde8e close file in SSTableNamesIterator when opened locally. patch by mdennis; reviewed by jbellis for CASSANDRA-1188
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@954572 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 17:59:26 +00:00
Johan Oskarsson f8d43ed460 Remove references to -dev version of pig, add example script, use comparators singletons. Patch by Jeremy Hanna, review by johan. CASSANDRA-1150
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@954000 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 13:08:51 +00:00
Gary Dusbabek 44d002221d hopeful modifications to window batch files. patch by gdusbabek, reviewed by jbellis. CASSANDRA-1110
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@953775 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 17:11:16 +00:00
Gary Dusbabek bf9e22a4f2 merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@953771 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 17:03:13 +00:00
Jonathan Ellis 7da848f706 merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@953524 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 00:53:35 +00:00
Jonathan Ellis ce2ec06c11 allow using sun jdk w/ debian init script. patch by Coda Hale; reviewed by jbellis for CASSANDRA-1174
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@953518 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 00:46:34 +00:00
Jonathan Ellis b39c578581 fix FD leak. patch by mdennis; reviewed by jbellis for CASSANDRA-1178
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@953486 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 22:36:12 +00:00