mirror of https://github.com/apache/cassandra
Move less common tools into a new cassandra-tools package.
Patch by Michael Shuler, reviewed by brandonwilliams for CASSANDRA-7160
This commit is contained in:
parent
a4bea74aeb
commit
e4090f10e5
|
|
@ -9,8 +9,9 @@ src/resources/org/apache/cassandra/config/
|
||||||
build-stamp
|
build-stamp
|
||||||
build.properties
|
build.properties
|
||||||
debian/cassandra*debhelper*
|
debian/cassandra*debhelper*
|
||||||
debian/cassandra.substvars
|
debian/cassandra*.substvars
|
||||||
debian/cassandra/
|
debian/cassandra/
|
||||||
|
debian/cassandra-tools/
|
||||||
debian/files
|
debian/files
|
||||||
|
|
||||||
# gitignore doesn't help with modified files - you may wish to:
|
# gitignore doesn't help with modified files - you may wish to:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
2.1.0-rc1
|
2.1.0-rc1
|
||||||
|
* Move less common tools into a new cassandra-tools package (CASSANDRA-7160)
|
||||||
* Support more concurrent requests in native protocol (CASSANDRA-7231)
|
* Support more concurrent requests in native protocol (CASSANDRA-7231)
|
||||||
* Add tab-completion to debian nodetool packaging (CASSANDRA-6421)
|
* Add tab-completion to debian nodetool packaging (CASSANDRA-6421)
|
||||||
* Change concurrent_compactors defaults (CASSANDRA-7139)
|
* Change concurrent_compactors defaults (CASSANDRA-7139)
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,8 @@ Cassandra for Debian
|
||||||
====================
|
====================
|
||||||
|
|
||||||
This package is not a part of Debian, (and there are no immediate plans
|
This package is not a part of Debian, (and there are no immediate plans
|
||||||
to have it added). Bugs should be sent to eevans@apache.org, *not* filed
|
to have it added). Bugs should be sent to the Apache Cassandra JIRA, *not*
|
||||||
in the Debian BTS.
|
filed in the Debian BTS.
|
||||||
|
|
||||||
|
https://issues.apache.org/jira/browse/CASSANDRA
|
||||||
|
|
||||||
-- Eric Evans <eevans@apache.org> Sun, 26 Jul 2009 14:35:11 -0500
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
tools/bin/json2sstable usr/bin
|
||||||
|
tools/bin/sstable2json usr/bin
|
||||||
|
tools/bin/sstablelevelreset usr/bin
|
||||||
|
tools/bin/sstablemetadata usr/bin
|
||||||
|
tools/bin/sstablerepairedset usr/bin
|
||||||
|
tools/bin/sstablesplit usr/bin
|
||||||
|
tools/bin/token-generator usr/bin
|
||||||
|
|
@ -13,19 +13,13 @@ debian/cassandra-sysctl.conf etc/sysctl.d
|
||||||
bin/cassandra usr/sbin
|
bin/cassandra usr/sbin
|
||||||
bin/cassandra-cli usr/bin
|
bin/cassandra-cli usr/bin
|
||||||
bin/nodetool usr/bin
|
bin/nodetool usr/bin
|
||||||
bin/json2sstable usr/bin
|
|
||||||
bin/sstable2json usr/bin
|
|
||||||
bin/sstablekeys usr/bin
|
bin/sstablekeys usr/bin
|
||||||
bin/sstableloader usr/bin
|
bin/sstableloader usr/bin
|
||||||
bin/cqlsh usr/bin
|
bin/cqlsh usr/bin
|
||||||
bin/sstablescrub usr/bin
|
bin/sstablescrub usr/bin
|
||||||
bin/sstableupgrade usr/bin
|
bin/sstableupgrade usr/bin
|
||||||
bin/sstablesplit usr/bin
|
|
||||||
bin/cassandra-shuffle usr/bin
|
bin/cassandra-shuffle usr/bin
|
||||||
tools/bin/cassandra-stress usr/bin
|
tools/bin/cassandra-stress usr/bin
|
||||||
tools/bin/token-generator usr/bin
|
|
||||||
tools/bin/sstablelevelreset usr/bin
|
|
||||||
tools/bin/sstablemetadata usr/bin
|
|
||||||
lib/*.jar usr/share/cassandra/lib
|
lib/*.jar usr/share/cassandra/lib
|
||||||
lib/*.zip usr/share/cassandra/lib
|
lib/*.zip usr/share/cassandra/lib
|
||||||
lib/licenses usr/share/doc/cassandra
|
lib/licenses usr/share/doc/cassandra
|
||||||
|
|
|
||||||
|
|
@ -18,3 +18,12 @@ Replaces: apache-cassandra1
|
||||||
Description: distributed storage system for structured data
|
Description: distributed storage system for structured data
|
||||||
Cassandra is a distributed (peer-to-peer) system for the management
|
Cassandra is a distributed (peer-to-peer) system for the management
|
||||||
and storage of structured data.
|
and storage of structured data.
|
||||||
|
|
||||||
|
Package: cassandra-tools
|
||||||
|
Architecture: all
|
||||||
|
Depends: cassandra (= ${binary:Version}), ${misc:Depends}
|
||||||
|
Description: distributed storage system for structured data
|
||||||
|
Cassandra is a distributed (peer-to-peer) system for the management
|
||||||
|
and storage of structured data.
|
||||||
|
.
|
||||||
|
This package contains extra tools for working with Cassandra clusters.
|
||||||
|
|
|
||||||
|
|
@ -15,31 +15,31 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
if [ "x$CASSANDRA_HOME" = "x" ]; then
|
if [ "x$CASSANDRA_HOME" = "x" ]; then
|
||||||
CASSANDRA_HOME=`dirname $0`/../../
|
CASSANDRA_HOME="`dirname $0`/../.."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# The directory where Cassandra's configs live (required)
|
# The directory where Cassandra's configs live (required)
|
||||||
if [ "x$CASSANDRA_CONF" = "x" ]; then
|
if [ "x$CASSANDRA_CONF" = "x" ]; then
|
||||||
CASSANDRA_CONF=$CASSANDRA_HOME/conf
|
CASSANDRA_CONF="$CASSANDRA_HOME/conf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# This can be the path to a jar file, or a directory containing the
|
# This can be the path to a jar file, or a directory containing the
|
||||||
# compiled classes. NOTE: This isn't needed by the startup script,
|
# compiled classes. NOTE: This isn't needed by the startup script,
|
||||||
# it's just used here in constructing the classpath.
|
# it's just used here in constructing the classpath.
|
||||||
cassandra_bin=$CASSANDRA_HOME/build/classes/main
|
cassandra_bin="$CASSANDRA_HOME/build/classes/main"
|
||||||
cassandra_bin=$cassandra_bin:$CASSANDRA_HOME/build/classes/stress
|
cassandra_bin="$cassandra_bin:$CASSANDRA_HOME/build/classes/stress"
|
||||||
cassandra_bin=$cassandra_bin:$CASSANDRA_HOME/build/classes/thrift
|
cassandra_bin="$cassandra_bin:$CASSANDRA_HOME/build/classes/thrift"
|
||||||
#cassandra_bin=$cassandra_home/build/cassandra.jar
|
#cassandra_bin="$cassandra_home/build/cassandra.jar"
|
||||||
|
|
||||||
# JAVA_HOME can optionally be set here
|
# JAVA_HOME can optionally be set here
|
||||||
#JAVA_HOME=/usr/local/jdk6
|
#JAVA_HOME=/usr/local/jdk6
|
||||||
|
|
||||||
# The java classpath (required)
|
# The java classpath (required)
|
||||||
CLASSPATH=$CASSANDRA_CONF:$cassandra_bin
|
CLASSPATH="$CASSANDRA_CONF:$cassandra_bin"
|
||||||
|
|
||||||
for jar in $CASSANDRA_HOME/tools/lib/*.jar; do
|
for jar in "$CASSANDRA_HOME"/tools/lib/*.jar; do
|
||||||
CLASSPATH=$CLASSPATH:$jar
|
CLASSPATH="$CLASSPATH:$jar"
|
||||||
done
|
done
|
||||||
for jar in $CASSANDRA_HOME/lib/*.jar; do
|
for jar in "$CASSANDRA_HOME"/lib/*.jar; do
|
||||||
CLASSPATH=$CLASSPATH:$jar
|
CLASSPATH="$CLASSPATH:$jar"
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue