Commit Graph

1005 Commits

Author SHA1 Message Date
Brandon Williams 2f979ed60f cqlsh: update recognized syntax
Patch by paul cannon and Aleksey Yeschenko, reviewed by brandonwilliams
for CASSANDRA-4488
2012-10-08 11:17:26 -05:00
Brandon Williams 3f31642c39 cqlsh: add thrift transport factory
Patch by Aleksey Yeschenko, reviewed by brandonwilliams for
CASSANDRA-4610
2012-10-04 10:08:35 -05:00
Brandon Williams 1c2922c223 cqlsh: add thrift transport factory imeplementation
Patch by Aleksey Yeschenko, reviewed brandonwilliams
2012-10-04 10:04:43 -05:00
Brandon Williams 2edeeeba2d Merge branch 'cassandra-1.1' into trunk 2012-09-26 10:08:32 -05:00
Brandon Williams 4c45288790 cqlsh: alphabetize help
Patch by Aleksey Yeschenko, reviewed by brandonwilliams for
CASSANDRA-4034
2012-09-26 09:59:55 -05:00
Brandon Williams 09d3e7f7f7 Missing commit from 4594 merge. 2012-09-18 13:47:56 -05:00
paul cannon ebd60fb74d cqlsh: update DESCRIBE support for collections 2012-09-18 09:30:25 +02:00
paul cannon 9ec77eb66e cqlsh: adapt to CASSANDRA-4018 system cf changes 2012-09-18 09:09:39 +02:00
Brandon Williams 12691ae3a6 Merge branch 'cassandra-1.1' into trunk 2012-09-17 21:42:25 -05:00
Brandon Williams e7f28f3032 cqlsh: catch IOError on history loading
Patch by Aleksey Yeschenko, reviewed by brandonwilliams for
CASSANDRA-4669
2012-09-17 21:41:30 -05:00
Brandon Williams 1f3990f122 Merge branch 'cassandra-1.1' into trunk 2012-09-17 20:44:20 -05:00
Brandon Williams 4d600f3381 Revert "cqlsh: check for non-empty history file before loading"
This reverts commit 6a8ba07313.
2012-09-17 20:44:12 -05:00
Brandon Williams a500e28357 cqlsh: check for non-empty history file before loading
Patch by Brian O'Neill, reviewed by brandonwilliams for CASSANDRA-4669
2012-09-14 16:46:36 -05:00
Brandon Williams 6a8ba07313 cqlsh: check for non-empty history file before loading
Patch by Brian O'Neill, reviewed by brandonwilliams for CASSANDRA-4669
2012-09-14 16:42:54 -05:00
Brandon Williams a26eb3ef66 cqlsh: combine multiline statements into single line history
Patch by Matthew Horsfall, reviewed by brandonwilliams for
CASSANDRA-4666
2012-09-13 15:48:43 -05:00
Brandon Williams 5551d9c396 cqlsh: combine multiline statements into single line history
Patch by Matthew Horsfall, reviewed by brandonwilliams for
CASSANDRA-4666
2012-09-13 15:47:26 -05:00
Brandon Williams 69a243a53e Merge branch 'cassandra-1.1' into trunk 2012-09-13 14:11:40 -05:00
Brandon Williams 751e58d1e7 cqlsh: flush capture output after every command.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4073
2012-09-13 14:05:11 -05:00
Brandon Williams a946e61d17 Merge branch 'cassandra-1.1' into trunk 2012-09-13 14:03:13 -05:00
Brandon Williams 5a63858d0d cqlsh: suggesting cql3 to cql2 users when they get an error and their
statement appears to parse for cql 2, and vice versa.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4454
2012-09-13 14:01:41 -05:00
Brandon Williams ae96aace6d Merge branch 'cassandra-1.1' into trunk 2012-09-13 13:56:14 -05:00
Brandon Williams 1e6cc9aebc cqlsh: sort columns so COPY TO -> FROM works.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4594
2012-09-13 13:53:38 -05:00
Brandon Williams 5bb13b4262 cqlsh: use system.local instead of system.Versions
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4491
2012-09-13 13:31:36 -05:00
Sylvain Lebresne 55df844e07 Merge branch 'cassandra-1.1' into trunk 2012-09-11 17:34:22 +02:00
Sylvain Lebresne 9eba7ab3ba Add sstablescrub to debian packaging
patch by slebresne; reviewed by jbellis for CASSANDRA-4642
2012-09-11 17:33:28 +02:00
Pavel Yaskevich c4692a1713 merge from 1.1 2012-09-11 01:13:05 +03:00
Brandon Williams 7cbc0be23d cqlsh: allow disabling colors.
Patch by Tyler Hobbs, reviewed by brandonwilliams for CASSANDRA-4634
2012-09-10 14:41:43 -05:00
Sylvain Lebresne 500a529e7d Make CQL3 the default CQL implementation
patch by slebresne; reviewed by jbellis for CASSANDRA-4640
2012-09-10 18:50:21 +02:00
Brandon Williams bd27527211 cqlsh: update encoding for collections
Patch by paul cannon reviewed by brandonwilliams for CASSANDRA-4500
2012-08-31 07:42:31 -05:00
Brandon Williams 7ddb5c7a47 cqlsh: handle fully qualified class names
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4546
2012-08-16 17:26:24 -05:00
Sylvain Lebresne ac960ecbe8 Fix debug program for the binary protocol after package name change 2012-08-08 17:51:00 +02:00
Brandon Williams fc8e4b5656 FIx cqlsh COPY FROM without explicit column names.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4470
2012-07-29 11:50:10 -05:00
Brandon Williams 80c3b2dc20 FIx cqlsh COPY FROM without explicit column names.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4470
2012-07-29 11:48:44 -05:00
Brandon Williams 3a8bd3657a Merge branch 'cassandra-1.1' into trunk 2012-07-28 14:05:01 -05:00
Brandon Williams 2d71a8eea5 Fix online help in cqlsh for COPY commands.
Patch by paul cannon, reviewed by brandon williams for CASSANDRA-4469
2012-07-28 14:01:57 -05:00
Brandon Williams 94e413f5a1 Merge branch 'cassandra-1.1' into trunk 2012-07-26 12:39:41 -05:00
Brandon Williams 10372c20df cqlsh: fix problem describing pre-cql3 CFs that are case-sensitive
Patch by paul cannon reviewed by brandonwilliams for CASSANDRA-4385
2012-07-26 12:38:10 -05:00
Brandon Williams e73b2a68bf cqlsh: add a COPY TO command
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4434
2012-07-24 14:01:42 -05:00
Brandon Williams 9a63394765 cqlsh: add a COPY TO command
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4434
2012-07-24 13:57:19 -05:00
Brandon Williams d6b7dd60fe Merge branch 'cassandra-1.1' into trunk 2012-07-23 11:46:29 -05:00
Brandon Williams 29379a5254 Fix startup script return code.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4271
2012-07-23 11:44:52 -05:00
Brandon Williams ee5c09a857 Merge branch 'cassandra-1.1' into trunk 2012-07-11 09:44:27 -05:00
Brandon Williams 3e4858271d cqlsh: describe command outputs valid CQL.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4380
2012-07-11 09:38:22 -05:00
Sylvain Lebresne 6d3a3eed27 Custom CQL protocol
patch by slebresne; reviewed by yukim and norman for CASSANDRA-2478
2012-07-05 18:21:09 +02:00
Sylvain Lebresne 75453d0179 Improve scrub and allow to run it offline
patch by slebresne; reviewed by jbellis for CASSANDRA-4321
2012-06-29 10:37:10 +02:00
Brandon Williams 0ba2631ee2 cqlsh: add COPY command to load data from CSV flat files
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4012
2012-06-18 13:24:32 -05:00
Brandon Williams 0cc168a966 Fix cqlsh ASSUME broken by CASSANDRA-4198.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4352
2012-06-18 13:09:50 -05:00
Brandon Williams 55d4dd6547 Add an option to cqlsh to authenticate to a keyspace by default.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4108
2012-06-01 12:56:49 -05:00
Brandon Williams 38748b43d8 cqlsh: update recognized syntax for cql3
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4198
2012-05-18 10:22:23 -05:00
Brandon Williams 51767c198d Merge from 1.0 2012-05-15 17:24:26 -05:00
Brandon Williams be9fa05d06 Enable piping to cqlsh with locale.getpreferredencoding()
Patch by paul cannon, reviewd by brandonwilliams for CASSANDRA-4113
2012-05-15 17:19:04 -05:00
Brandon Williams 44e7a08903 Cqlsh: fix 'describe columnfamily' from CASSADRA-4164
Patch by paul cannon, reviewed by brandonwilliams
2012-05-04 12:42:28 -05:00
Brandon Williams f1ee34f08f cqlsh: in cql3 mode, use cql3 quoting when outputting cql.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4173
2012-05-01 09:48:27 -05:00
Brandon Williams b81f5723ef Cqlsh supports DESCRIBE on cql3-style composite CFs.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4164
2012-04-27 16:05:42 -05:00
Jonathan Ellis dc975e8ac3 fix recognizing uppercase SELECT keyword
patch by Jonas Dohse and pcannon for CASSANDRA-4161
2012-04-19 14:00:32 -05:00
paul cannon 8df0cea779 allow cql version selection 2012-04-06 11:03:52 -05:00
Brandon Williams 2ca983d9c0 Merge from 1.0 2012-04-05 15:09:44 -05:00
Jonathan Ellis c9f88103d0 guess correct version of Python for Arch Linux
patch by Andrew Ash and Paul Cannon for CASSANDRA-4090
2012-04-03 11:12:13 -05:00
Brandon Williams e4e87661d5 Restore defaultdict import 2012-03-30 14:31:56 -05:00
Brandon Williams e3c4c095f0 Merge branch 'cassandra-1.0' into cassandra-1.1.0 2012-03-27 14:30:51 -05:00
Brandon Williams 270d0165da cqlsh: check for cql driver colname type support, overhaul column coloring
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4003
2012-03-27 14:29:10 -05:00
Brandon Williams 9fc1d5c23a cqlsh: fix col. width in presence of wide unicode glyphs
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4033
2012-03-27 13:51:02 -05:00
Sylvain Lebresne d64b9fff57 cqlsh: tab-complete key alias for ALTER CF ALTER
patch by thepaul; reviewed by slebresne for CASSANDRA-3873
2012-02-24 11:20:14 +01:00
Sylvain Lebresne c691e09f14 Merge branch 'cassandra-1.0' into cassandra-1.1 2012-02-22 11:39:44 +01:00
paul cannon 44ac7a04e0 cqlsh: look for cqlshlib relative to realpath
patch by thepaul; reviewed by slebresne for CASSANDRA-3767

i.e., the realpath of the cqlsh executable, instead of the path as
called, which could be a symlink. If cqlsh is called via symlink, we are
more likely to find cqlshlib relative to the real location than relative
to the symlink.
2012-02-22 11:38:46 +01:00
Sylvain Lebresne 40bb5509b9 Extra change for #3933 for 1.1 2012-02-22 11:32:17 +01:00
Sylvain Lebresne d9124ed68c Merge branch 'cassandra-1.0' into cassandra-1.1 2012-02-22 11:30:50 +01:00
paul cannon 1ad1c12829 cqlsh: ignore missing CfDef opts
patch by thepaul; reviewed by slebresne for CASSANDRA-3933

We don't want to try to track every possible CF
option supported by different versions of Cassandra, so if we try
to reference one and it's not in the object at all, that's fine,
don't try to display it.
2012-02-22 11:29:52 +01:00
Brandon Williams 9417eb6299 cqlsh: handle deserialization errors.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-3874
2012-02-16 09:23:42 -06:00
Brandon Williams cd36f97571 cqlsh: handle deserialization errors.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-3874
2012-02-16 09:21:55 -06:00
Brandon Williams 0f3ff051ef Merge branch 'cassandra-1.0' into cassandra-1.1 2012-02-06 14:58:59 -06:00
paul cannon b527d9ffe1 Fix cqlsh data display on python <2.7
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-3846
2012-02-06 13:32:03 -06:00
paul cannon d4f2051578 cqlsh: update syntax for tab completions
Patch by Paul Cannon, reviewed by brandonwilliams for CASSANDRA-3757
2012-01-30 15:43:53 -06:00
paul cannon 8a5436a2b6 add cqlsh to Debian package 2012-01-29 19:09:34 -06:00
paul cannon 1387d92fcd cqlsh version 2.0.0 -> 2.1.0 2012-01-29 19:01:25 -06:00
paul cannon b6344887c2 cqlsh: use python-cql and thrift bindings from lib
..if possible.
2012-01-29 19:01:25 -06:00
Jonathan Ellis 73f7104cd3 Merge branch 'cassandra-1.0' into trunk 2012-01-27 09:29:35 -06:00
Jonathan Ellis 2a1ec27e26 s/goto err/goto :err/ 2012-01-27 09:29:21 -06:00
Jonathan Ellis 90e3ec4403 fix classpath quoting
patch by Nick Bailey and jbellis for CASSANDRA-3744
2012-01-27 09:29:19 -06:00
paul cannon d5979b3017 Add read from/write to support for cqlsh.
Patch by Paul Cannon, reviewed by brandonwilliams for CASSANDRA-3479
2012-01-25 21:46:48 -06:00
Jonathan Ellis c641acca70 merge from 1.0 2012-01-20 13:23:31 -06:00
paul cannon 5850178cb9 cqlsh: format output properly, make prettier
most importantly: formats output from queries according to column
storage type, so that e.g. blob data is shown in hex. also formats
timestamp values in a human-readable and cql-readable way, and
shows backslash escapes for text/ascii types when characters can't
be printed. when color is enabled, highlight backslash escapes in
red, so they can easily be distinguished from text that happens to
contain backslashes.

color different types of column data differently: textual data stays
yellow, blob data is red, and other data (types which are shown and
input significantly differently from the byte representation, like
numbers, timestamps, etc) are green.

for static resultsets, add a separator line between header and data
(most helpful for people who don't have colors on). left-justify column
headers instead of right-justifying. for dynamic resultsets, don't
append a final bar separator after the last value.

allow calling into a value renderer/formatter which can make decisions
about output representation and color based on the column type

patch by pcannon; reviewed by jbellis for CASSANDRA-3726
2012-01-20 13:22:38 -06:00
Jonathan Ellis 91c45d445c merge from 1.0 2012-01-19 17:04:29 -06:00
paul cannon fc6103966c add DESC alias for DESCRIBE
patch by pcannon; reviewed by jbellis for CASSANDRA-3587
2012-01-19 17:03:02 -06:00
paul cannon 95942f0221 cqlsh: add DESC COLUMNFAMILIES to show cf names
as opposed to DESCRIBE KEYSPACE, which shows all columnfamilies but
includes all their column definitions and options, which is usually a
lot of output.

patch by pcannon; reviewed by jbellis for CASSANDRA-3586
2012-01-19 17:02:36 -06:00
paul cannon f458cc1ad9 add ALTER COLUMNFAMILY WITH
allows modification of columnfamily properties after creation

patch by pcannon; reviewed by jbellis for CASSANDRA-3523
2012-01-16 13:28:40 -06:00
Brandon Williams 2bb862c320 Add help for INSERT to cqlsh.
Patch by Paul Cannon, reviewed by brandonwilliams for CASSANDRA-3718.
2012-01-10 13:59:50 -06:00
Eric Evans 8f777d4226 cqlsh: fix broken help output methods
Patch by paul cannon; reviewed by eevans for CASSANDRA-3588

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0@1211958 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 16:29:53 +00:00
Jonathan Ellis 233de993ce s/bash/sh/
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0@1209348 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 03:10:22 +00:00
Jonathan Ellis 77ad368ed5 update cqlsh to find a python >= 2.5, if possible
patch by Paul Cannon; reviewed by jbellis for CASSANDRA-3457

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0@1209343 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 03:01:05 +00:00
Brandon Williams b23a805925 Fix ASSUME when using SELECT keyspace.cfname syntax in cqlsh.
Patch by Paul Cannon, reviewed by brandonwilliams for CASSANDRA-3500

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0@1207616 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 21:19:15 +00:00
Jonathan Ellis 33eb53a36d use setlocal in cassandra.bat
patch by Tyler Hobbs; reviewed by Ben Coverston for CASSANDRA-3506

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0@1203840 13f79535-47bb-0310-9956-ffa450edef68
2011-11-18 21:08:03 +00:00
Jonathan Ellis 6e088d48f3 don't use cqlsh color on Windows
patch by Paul Cannon; reviewed by jbellis for for CASSANDRA-3131

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0@1201080 13f79535-47bb-0310-9956-ffa450edef68
2011-11-11 22:32:17 +00:00
Sylvain Lebresne 0a8188084d update versions, news and license headers for 1.0.3 release
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0@1201018 13f79535-47bb-0310-9956-ffa450edef68
2011-11-11 18:40:41 +00:00
Jonathan Ellis b1b1772f35 svn propset svn:executable on bin/cqlsh
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0@1200539 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 20:37:14 +00:00
Jonathan Ellis 1bb2947dd5 add next-gen cqlsh
patch by Paul Cannon; reviewed by jbellis for CASSANDRA-3188

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0@1198994 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 23:05:54 +00:00
Jonathan Ellis 620895f156 remove procrun (bin\daemon); see CASSANDRA-3331
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0@1189869 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 16:56:29 +00:00
Jonathan Ellis 9145df8973 limit nodetool to 32MB of heap
patch by Zenek Kraweznik; reviewed by jbellis for CASSANDRA-3124

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0@1183046 13f79535-47bb-0310-9956-ffa450edef68
2011-10-13 19:26:43 +00:00
Sylvain Lebresne f01566e010 Remove wronly inserted echo
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0.0@1181741 13f79535-47bb-0310-9956-ffa450edef68
2011-10-11 12:12:14 +00:00
Jonathan Ellis 2372204b50 add bin/daemon to release tarball
patch by bcoverston; reviewed by jbellis for CASSANDRA-3331

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0.0@1180157 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 19:03:06 +00:00
Jonathan Ellis b4ea3a73ca fix type information returned for wildcard queries
patch by pyaskevich; reviewed by jbellis for CASSANDRA-3311

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0.0@1179360 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 18:19:54 +00:00
Sylvain Lebresne 2a4e2487b4 merge from 0.8
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0.0@1178338 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 08:49:44 +00:00
Jonathan Ellis 22f52ab3a8 test for NUMA policy support as well as numactl presence
patch by Peter Schuller; reviewed by Paul Cannon for CASSANDRA-3245

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0.0@1176048 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 20:48:52 +00:00
Sylvain Lebresne 3c4f0404ad Remove old jamm jar and update cassandra.bat
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0.0@1171538 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 13:15:38 +00:00
Jonathan Ellis 34e2ae59a9 Add "install" command to cassandra.bat
patch by Ben Coverston; reviewed by jbellis for CASSANDRA-292

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1160429 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 20:55:40 +00:00
Jonathan Ellis 604c0e87dc add numactl to java invocation, if available
patch by Peter Schuller; reviewed by Paul Cannon for CASSANDRA-2594

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1159834 13f79535-47bb-0310-9956-ffa450edef68
2011-08-20 02:17:30 +00:00
Jonathan Ellis 9795e845d2 merge from 0.8
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1157379 13f79535-47bb-0310-9956-ffa450edef68
2011-08-13 13:53:27 +00:00
Jonathan Ellis 2816bd471f merge from 0.8
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1153198 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 17:04:15 +00:00
Jonathan Ellis f491265fc5 merge from 0.8
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1137777 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 20:54:24 +00:00
T Jake Luciani e970b03c65 merge from 0.8 branch
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1128308 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 13:56:21 +00:00
Jonathan Ellis 4f9b1604c7 merge from 0.8
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1127165 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 17:34:36 +00:00
Jonathan Ellis 70c0ed88e2 merge from 0.8
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1126485 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 13:30:48 +00:00
Jonathan Ellis 0427c832b0 merge from 0.8
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.8.1@1101228 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 21:31:45 +00:00
Gary Dusbabek ebc7278d78 sanitize configuration code. patch by Jon Hermes, reviewed by gdusbabek. CASSANDRA-1906
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1082510 13f79535-47bb-0310-9956-ffa450edef68
2011-03-17 14:50:32 +00:00
Eric Evans 5d768da6c1 compile thrift generated classes to separate jar
Patch by eevans; reviewed by tjake for CASSANDRA-1848


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1075609 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 01:32:16 +00:00
Eric Evans deb5fb4b00 compile bytecode to build/classes/main
Patch by eevans; reviewed by tjake for CASSANDRA-1848


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1075608 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 01:31:35 +00:00
Jonathan Ellis a9cbaae12d merge from 0.7
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1074329 13f79535-47bb-0310-9956-ffa450edef68
2011-02-24 22:33:03 +00:00
Jonathan Ellis dd0da7cbbe fix starting up on Windows when CASSANDRA_HOME contains whitespace
patch by Norman Maurer; reviewed by jbellis for CASSANDRA-2237

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1074276 13f79535-47bb-0310-9956-ffa450edef68
2011-02-24 19:54:18 +00:00
Jonathan Ellis 269fff789c merge from 0.7
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1070541 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 16:06:50 +00:00
Jonathan Ellis fe4fce6b65 forward all arguments to sstablekeys
patch by thobbs; reviewed by jbellis for CASSANDRA-2150

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1069238 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 05:35:47 +00:00
Eric Evans 86369f8d63 CASSANDRA-1855 new default jmx port
Patch by eevans for CASSANDRA-1855

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1063948 13f79535-47bb-0310-9956-ffa450edef68
2011-01-27 01:29:23 +00:00
Eric Evans 7a629a13fd remove option to launch avro rpc daemon
Patch by eevans; reviewed by Jeremy Hanna for CASSANDRA-926

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1059456 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 04:05:49 +00:00
Jonathan Ellis 44f0214b1d merge from 0.7
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1052105 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 23:56:23 +00:00
Jonathan Ellis b17aefbcf5 check log4j configuration for changes every 10s
patch by tjake; reviewed by jbellis for CASSANDRA-1525

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1052104 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 23:53:40 +00:00
Eric Evans 930b4658b3 merge w/ 0.7 branch
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1038864 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 23:04:38 +00:00
Jonathan Ellis 049b4ef94e dos2unix json2sstable
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1038287 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 19:13:27 +00:00
Jonathan Ellis f6efba90f3 r/m config-converter.bat
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1036289 13f79535-47bb-0310-9956-ffa450edef68
2010-11-17 23:51:56 +00:00
Jonathan Ellis f34e60f7ca merge from 0.7
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1035022 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 16:58:58 +00:00
Jonathan Ellis a0fabc5d2b merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1035021 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 16:55:59 +00:00
Jonathan Ellis 727196fa02 merge from 0.7
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1034096 13f79535-47bb-0310-9956-ffa450edef68
2010-11-11 20:06:14 +00:00
Jonathan Ellis 204aa5ee72 merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1033046 13f79535-47bb-0310-9956-ffa450edef68
2010-11-09 15:58:26 +00:00
Jonathan Ellis 05331936ba r/m xml config converter. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1028769 13f79535-47bb-0310-9956-ffa450edef68
2010-10-29 14:32:31 +00:00
Jonathan Ellis 7af2abe6ab update GC settings in cassandra.bat
patch by Nate McCall; reviewed by Vladimir Loncar for CASSANDRA-1636

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1025649 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 17:41:51 +00:00
Jonathan Ellis e97fdb8240 point log4j to log4j-server.properties in cassandra.bat. patch by Vladimir Loncar; reviewed by jbellis for CASSANDRA-1538
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1002198 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 14:54:29 +00:00
Eric Evans cbb634bdd5 more reasonable max heap for cassandra-cli
Patch by eevans for CASSANDRA-1446

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991062 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 02:47:53 +00:00
Eric Evans 6f2a92bdaa move JVM_OPTS from cassandra.in.sh to the conf/ dir
Patch by Nick Bailey; review by eevans for CASSANDRA-1347

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@982845 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 01:25:07 +00:00
Gary Dusbabek a677749228 tool to import+export schema. patch by Eric Evans and Gary Dusbabek, reviewed by Brandon Williams. CASSANDRA-1133
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@967261 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 20:52:54 +00:00
Jonathan Ellis 930645c660 merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@966746 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 16:58:28 +00:00
Gary Dusbabek 5f21923cda updating cassandra-cli.bat to work in windows
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@966295 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 16:17:30 +00:00
Brandon Williams 896e5d5f84 Remove deprecated nodeprobe link
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@964555 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 19:53:08 +00:00
Brandon Williams 0398e9fcca Reduce default stack size for CASSANDRA-1256
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@962394 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 03:54:04 +00:00
Jonathan Ellis 1ccd7a6135 group related jvm options. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@959164 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 02:05:00 +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
Jonathan Ellis a46b3bf548 merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@947753 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 18:27:52 +00:00
Gary Dusbabek 98dfd97eab merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@947143 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 19:46:37 +00:00
Gary Dusbabek e27df1e559 merging from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@947132 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 19:20:13 +00:00
Eric Evans d0f2a780a0 start script causes flapping when used with runit
When started in the foreground, invoke Cassandra using exec so that it
replaces the current shell instead of running it from a sub-shell.

Patch by Cliff Moon; reviewed by eevans for CASSANDRA-1114

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@947053 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 16:10:11 +00:00
Gary Dusbabek e9fd49d190 merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@946318 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 18:05:04 +00:00
Gary Dusbabek 464a36f67c merging fixes from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@941481 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 20:52:30 +00:00
Jonathan Ellis c75230c3a1 add bin/config-convert for xml -> yaml migration. patch by Todd Blose; reviewed by Stu Hood for CASSANDRA-1000
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@936511 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 21:05:34 +00:00
Jonathan Ellis dd787f7fcb simplify configuration file loading; rename to cassandra.xml
patch by jbellis; reviewed by eevans for CASSANDRA-971

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@934505 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 18:17:42 +00:00
Eric Evans 4777fcf6a6 remove old cmd option from usage sysnopsis
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@930974 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 22:41:07 +00:00
Eric Evans 06248ea220 merge with 0.6 branch (post-850)
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@927954 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 16:31:52 +00:00
Jonathan Ellis 0298fcabd4 merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@924050 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 23:34:16 +00:00
Jonathan Ellis 700be6e093 merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@921126 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 21:05:29 +00:00
Jonathan Ellis 0e6edb5c54 merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@919470 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 16:27:53 +00:00
Gary Dusbabek 85047d0b65 merge changes from 0.6
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@915828 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 15:38:18 +00:00
Eric Evans e43ee6fd81 start avro daemon using -a arg to startup script
Patch by eevans; reviewed by gdusbabek for CASSANDRA-811

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@911990 13f79535-47bb-0310-9956-ffa450edef68
2010-02-19 21:30:36 +00:00
Gary Dusbabek 275553c8af remove JVM debugger options from default cassandra.in.sh
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@911841 13f79535-47bb-0310-9956-ffa450edef68
2010-02-19 15:26:04 +00:00
Eric Evans 38c981efcc pass args onto main class from cassandra-cli.bat
Patch by Mark Wolfe; reviewed by eevans for CASSANDRA-797

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@910787 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 00:32:36 +00:00
Eric Evans 23a1787c02 update windows batch file for accumlated changes
* match JVM default opts to shell scripts
 * update CassandraDaemon package

Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@910359 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 22:50:35 +00:00
Jonathan Ellis ef6f0238ef finish r/m of -f option. use log4j of WARN,stderr so that doesn't get in the way of redirecting stdout.
patch by jbellis; reviewed by eevans for CASSANDRA-766

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@908652 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 19:53:56 +00:00
Eric Evans a7a7a02482 remove redundant -XX:SurvivorRatio option
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@908132 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 17:53:46 +00:00
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