Commit Graph

992 Commits

Author SHA1 Message Date
Eric Evans 25645f9397 use ivy to download source jars as well
This forces another round of IDE classpath updates. Sorry about that.

Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@905405 13f79535-47bb-0310-9956-ffa450edef68
2010-02-01 20:40:55 +00:00
Eric Evans 26c95ff453 avro and friends (some via ivy)
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@904541 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 16:23:49 +00:00
Eric Evans 542bd7904d refactor thrift-specific code ...server -> ...thrift
This was mostly an IDE-driven effort.

Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@904540 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 16:24:28 +00:00
Eric Evans 7c20890fc9 rename nodeprobe -> nodetool
Get away from the one-to-one correlation with the NodeProbe class; be
more consistent with the new clustertool.

Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@902260 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 20:38:33 +00:00
Eric Evans 4b71dc0ebc add clustercmd tool (currently only prints endpoints)
Patch by eevans and goffinet for CASSANDRA-698

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@902250 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 20:11:49 +00:00
Eric Evans 76a6da8d26 NodeProbe refactor: move main to new class
Patch by eevans for CASSANDRA-698

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@902247 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 20:10:26 +00:00
Eric Evans 8371eba701 set shell script executable
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@901485 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 01:18:47 +00:00
Jonathan Ellis 820390faf1 add bin/sstablekeys, listing just the keys from an sstable (actually, from its index file), one per line.
patch by Brandon Williams and jbellis for CASSANDRA-679

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@899781 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 19:36:11 +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
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
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
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
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
Eric Evans cf806065f1 added missing license header
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@882382 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 01:40:02 +00:00
Eric Evans 483bb4f367 add user config to search path (like daemon start script)
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@835991 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 21:13:38 +00:00
Eric Evans 185d436fdb windows start script for cassandra cli
Patch by Dirk Weber; reviewed by eevans for CASSANDRA-549

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@835939 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 17:50:26 +00:00
Jonathan Ellis f3cdaa96b7 add Move command
patch by jbellis; reviewed by Jaakko Laine for CASSANDRA-541

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@835890 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 15:57:31 +00:00
Jun Rao 6c31fd86fa trivial change to make stop-server really work
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@833526 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 19:08:07 +00:00
Jonathan Ellis afb382b044 add -XX:SurvivorRatio=128 -XX:MaxTenuringThreshold=0 to default gc options. patch by Brandon Williams; reviewed by jbellis for CASSANDRA-504
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@828139 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 18:47:35 +00:00
Jonathan Ellis 2a0846d367 merge from 0.4 branch
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@828137 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 18:45:21 +00:00
Eric Evans 417e7c0373 basic json exporter for sstables
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@825618 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 19:02:47 +00:00
Eric Evans 93a88e61c8 pass -D arguments to the jvm from startup script
Let getopt parse -D options passed to the script, reconstruct them, and
pass them on to the vm.

Patch by eevans; review by jbellis for CASSANDRA-374

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@823637 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 17:49:59 +00:00
Jonathan Ellis ff3dd4dcec add autobootstrap
patch by jbellis; reviewed by Eric Evans for CASSANDRA-438

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@822876 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 19:41:47 +00:00
Jonathan Ellis 6d9058c1f6 chmod +x bin/tokenupdater
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@818160 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 16:34:52 +00:00
Jonathan Ellis 91acae3dfb Fix deserialization bug in TokenUpdateVerbHandler; change TokenUpdater to update one node at a time, and add bin/tokenupdater as a convenience. Patch by Sammy Yu; reviewed for CASSANDRA-363 by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@815373 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 15:47:36 +00:00
Eric Evans 6ccdeb38ca bin/cassandra improvements
- allow user-local configuration (~/.cassandra.in.sh)
- add comments documenting startup configuration

Patch by eevans; reviewed by jbellis and Lance Weber for CASSANDRA-416

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@810761 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 02:26:38 +00:00
Jonathan Ellis 0c5cd149a3 Add "bootstrap mode" to node startup. This causes the node to tell the
nodes that have data it needs to send it the data, and not otherwise
participate in reads or writes until the bootstrap is complete.
patch by Sandeep Tata; reviewed by jbellis for CASSANDRA-195

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@805968 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 20:51:06 +00:00
Eric Evans 3924ae9fe8 have bin/cassandra startup script respect JAVA_HOME
Patch by Joe Stump; reviewed by eevans for CASSANDRA-352

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802067 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 16:19:32 +00:00
Eric Evans 32d964ff54 better handling of file names with spaces on windows
- Quote path names in startup bat file
- Pass File object instead of URI when parsing storage-conf.xml

Patch by Michael Greene; reviewed by eevans for CASSANDRA-307

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@796345 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 15:21:59 +00:00
Eric Evans 77a5bf429e shiny new windows bat file for daemon startup
Patch by Michael Greene; reviewed by eevans for CASSANDRA-146

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@793978 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 17:18:04 +00:00
Eric Evans e3ad9d33f6 use consistent mechanisms for setting classpath
Patch by Anthony Molinaro; reviewd by eevans for CASSANDRA-274

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@793975 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 17:00:33 +00:00
Eric Evans e0d97d21fc replace non-portable use of echo -n with printf
Patch by Eric Evans; reviewed by Michael Greene for CASSANDRA-278

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@792206 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 16:08:01 +00:00
Jonathan Ellis 01adb7a1aa add nodeprobe cli tool. patch by Eric Evans; reviewed by jbellis for CASSANDRA-211
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@785178 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 12:38:30 +00:00
Jonathan Ellis d800250cbc merge from 0.3 branch
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@780687 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 15:36:59 +00:00
Jonathan Ellis 1fdfad82b3 enable assertions by default. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@774568 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 22:31:52 +00:00
Jonathan Ellis e4e5629b13 make out-of-the-box config 1GB-friendly. patch by jbellis; reviewed by Eric Evans for CASSANDRA-118
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@770811 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 20:14:35 +00:00
Jonathan Ellis f45bf41259 add cli wrapper and Getting Started section to readme. patch by johano and Eric Evans; reviewed by jbellis for CASSANDRA-117
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@770737 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 16:05:13 +00:00
Jonathan Ellis d2929c38c7 2nd missing file from r760679
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@760771 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 02:24:46 +00:00
Jonathan Ellis 7c0d21f49e missing file from r760679
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@760693 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 22:28:48 +00:00
Jonathan Ellis ce5e583b4b Move startup code into CassandraDaemon. Drop stdout and stderr. Add hooks for jsvc, which allows more thorough daemonization (such as dropping priviledges and setting process name). New startup script bin/casssandra provides out-of-the-box background mode without hacks like screen or nohup; -f flag restores old foreground mode. Also -p <filename> to log pid. Patch by Eric Evans for #20
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@760679 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 22:17:20 +00:00
Jonathan Ellis 49e55f3ef0 apply patch from Jun Rao fixing issue #17 (improve the start-server and stop-server script)
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759295 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 18:17:21 +00:00
Jonathan Ellis c72b9e85b6 start/stop, log4j.properties
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@758964 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:18:11 +00:00