Commit Graph

904 Commits

Author SHA1 Message Date
Eric Evans 987aed491c corrected minor formatting nit
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887503 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 05:34:44 +00:00
Eric Evans bbfcb18ae5 cli command completion
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887502 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 05:27:48 +00:00
Eric Evans bf6ac62695 improve lazy lookup of keyspace/column family metadata
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887501 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 05:27:38 +00:00
Eric Evans 43cc5b1aef document CASSANDRA-567 in changelog
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887500 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 05:27:27 +00:00
Eric Evans 94b55880bf cleaner handling of string encoding exceptions
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887499 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 05:27:19 +00:00
Eric Evans f2e18632fd refactor of executeGet() to support super columns
Patch by eevans for CASSANDRA-567

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887498 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 05:27:07 +00:00
Eric Evans 601d939e9b refactor of executeSet() to support super columns
Patch by eevans for CASSANDRA-567

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887497 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 05:26:56 +00:00
Jonathan Ellis 0a7bcd5c1f add 581 to CHANGES
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887491 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 03:43:58 +00:00
Chris Goffinet 75db7b59b7 Change convertFromDiskFormat to use substring splitting vs using split operation (slow). patch by goffinet; reviewed by stuhood for CASSANDRA-581
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887481 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 01:44:41 +00:00
Chris Goffinet 55e13fe616 Remove -Dcassandra from the command line that bin/cassandra generates patch by gdusbabek; reviewed by goffinet for CASSANDRA-601
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887478 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 01:29:23 +00:00
Jonathan Ellis 9e0ee8f269 add strong reads to range slicing
patch by jbellis; reviewed by Stu Hood for CASSANDRA-568

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887468 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 00:32:32 +00:00
Jonathan Ellis c9bbba13f5 move resolve, diff out of Row and into CF static methods
patch by jbellis; reviewed by Stu Hood for CASSANDRA-568

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887467 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 00:30:22 +00:00
Jonathan Ellis 23aa01beca convert range slice to use DecoratedKeys
patch by jbellis; reviewed by Stu Hood for CASSANDRA-568

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887466 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 00:27:18 +00:00
Jonathan Ellis 6d96f53add move "are we done yet" check in quorum read entirely into RRR.isDataPresent instead of partly there and partly in QRH.response
patch by jbellis; reviewed by Stu Hood for CASSANDRA-568

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887465 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 00:24:19 +00:00
Jonathan Ellis 42eea2c50d r/m misguided attempt at optimizing merging range scan results from multiple nodes
patch by jbellis; reviewed by Stu Hood for CASSANDRA-568

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887463 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 00:22:31 +00:00
Jonathan Ellis 3fc7f26444 add contrib example of using "fat client" api. patch by gdusbabek; reviewed by jbellis for CASSANDRA-596
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887456 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 23:39:18 +00:00
Jonathan Ellis 02a562a3a0 simplify client mode gossip handling. patch by Jaakko Laine; reviewed by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887369 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 21:38:53 +00:00
Jonathan Ellis eff8c61157 r/m unused HeartBeatState.heartbeat field. patch by Jaakko Laine; reviewed by jbellis for CASSANDRA-597
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887359 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 21:13:30 +00:00
Jonathan Ellis 40ed496b91 zero-pad single hex digits in bytesToHex. patch by Stu Hood; reviewed by gdusbabek for CASSANDRA-602
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887342 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 20:19:28 +00:00
Eric Evans babb2e34c4 only copy needed resources (copy less greedily)
It would seem that hudson does some sort of test discovery and is trying
to execute some of the extraneous files.

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887272 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 17:07:31 +00:00
Jonathan Ellis 6c6f0c138e r/m method that duplicates Arrays.equals. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887068 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 05:30:38 +00:00
Jonathan Ellis ad4ef2f87e simplify findSuitableEndPoint by using sortByProximity. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886919 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 21:03:46 +00:00
Jonathan Ellis 83cce240bf Fix not returning live subcolumns of deleted supercolumns
patch by jbellis; reviewed by junrao for CASSANDRA-583

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886886 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 19:17:03 +00:00
Jonathan Ellis 9cc162d776 account for bootstrapping pending ranges in replication factor assert. patch by jbellis for CASSANDRA-593
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886332 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 22:41:23 +00:00
Eric Evans e286a98697 documented CASSANDRA-594 in changelog
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886330 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 22:36:16 +00:00
Eric Evans 176cdef27f use JAVA_HOME if set for all unix run scripts
Patch by Kay Kay; reviewed by eevans for CASSANDRA-590

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886310 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 21:29:41 +00:00
Jonathan Ellis 0a7e6d1087 update bmt_example to use new client mode.
patch by jbellis; reviewed by gdusbabek for CASSANDRA-535

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886256 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 18:55:51 +00:00
Jonathan Ellis 360d9b6a98 improve testing of StorageService init, and fix shutdown of messagingservice.
patch by gdusbabek; reviewed by jbellis for CASSANDRA-535

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886254 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 18:54:07 +00:00
Jonathan Ellis eccbe75a38 add StorageService.initClient, which starts up Gossiper without setting a token or anything other application state.
patch by gdusbabek and jbellis for CASSANDRA-535

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886253 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 18:51:45 +00:00
Eric Evans 578fd0ef32 add count and del commands to CLI
Patch by gabriele renzi; reviewed by eevans for CASSANDRA-594

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886238 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 18:32:25 +00:00
Eric Evans 37632c8586 application display name != class name
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886186 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 15:53:27 +00:00
Eric Evans 393cbf15dc update test for new Super4 column family definition
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886010 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 23:48:31 +00:00
Jonathan Ellis 5da5bf9ae5 use size of sstables as load, instead of naively counting everything in the data directories
patch by jbellis; reviewed by Stu Hood for CASSANDRA-554

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886006 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 23:31:47 +00:00
Eric Evans 8648d3fa01 CASSANDRA-591 remove unused setters
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@885894 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 19:44:18 +00:00
Eric Evans 255210d557 include missing maven dependencies
Patch by Adam Fisk; reviewed by eevans for CASSANDRA-588

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@885665 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 04:12:05 +00:00
Eric Evans 3ce6c65281 more flexible handling of JAVA_HOME in startup scripts
Patch by Kay Kay and eevans for CASSANDRA-589

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@885663 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 04:06:06 +00:00
Jonathan Ellis 8e08487c26 skip the system table (keyspace) for cleanup, it's local-only. patch by jbellis; reviewed by Stu Hood for CASSANDRA-579
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@885572 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 20:00:04 +00:00
Eric Evans afda4ac49d use json-simple method that propagates exceptions
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@885452 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 15:25:59 +00:00
Eric Evans e65ce8dcd7 JSON importer/exporter tests
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@885325 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 03:25:15 +00:00
Eric Evans 36edc09be8 export/import tombstone and timestamp information
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@885324 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 03:25:01 +00:00
Eric Evans ebbbfc4d70 add new JSON parsing library
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@885323 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 03:24:53 +00:00
Eric Evans f92915ffd5 CASSANDRA-499 JSON to SSTable converter (importer)
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@885322 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 03:24:46 +00:00
Jonathan Ellis e0f5809386 avoid adding CFs w/ no data to RowMutation on HH
patch by jbellis; tested by Dan Di Spaltro for CASSANDRA-585

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@884571 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 14:58:10 +00:00
Jonathan Ellis bac1616d85 update CHANGES
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@884371 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 02:21:46 +00:00
Jonathan Ellis 9c386dff60 send extra gossip to random seed as long as there are less nodes alive than seed nodes configured
patch by Jaakko Laine; reviewed by jbellis for CASSANDRA-150

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@884370 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 02:16:35 +00:00
Jonathan Ellis 95cbb3461a allow serializing null CF; add get_range_slice test exercising this
patch by jbellis; tested by Dan Di Spaltro for CASSANDRA-578

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@884333 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 23:16:58 +00:00
Jonathan Ellis 994487d755 make Row contain a single, final CF reference
patch by jbellis; tested by Dan Di Spaltro for CASSANDRA-578

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@884332 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 23:16:48 +00:00
Jonathan Ellis 7c4166444b r/m unused Row code, and move table variable into callers rather than serializing it redundantly
patch by jbellis; tested by Dan Di Spaltro for CASSANDRA-578

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@884331 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 23:16:34 +00:00
Jonathan Ellis cb3b171079 Moved leaving ring code to a separate helper function and call it right away if rangesMM is empty. patch by Jaakko Laine; reviewed by jbellis for CASSANDRA-573
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@883854 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 20:27:02 +00:00
Jonathan Ellis 0efd00be7b update CHANGES
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@883481 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 20:13:54 +00:00