-
Notifications
You must be signed in to change notification settings - Fork 303
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Donation to Apache Cassandra and ASF
Reassignment of copyright, where approved, and relicensing. New repository will be github.com/apache/cassandra-ccm
- Loading branch information
1 parent
cc8cb98
commit 39a7705
Showing
30 changed files
with
531 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,4 @@ ccm.egg-info/ | |
dse_creds.txt | ||
.eggs/ | ||
junit.xml | ||
/nbproject/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
Apache Cassandra Cluster Manager | ||
Copyright 2024 The Apache Software Foundation | ||
|
||
This product includes software developed at | ||
The Apache Software Foundation (http://www.apache.org/). | ||
|
||
|
||
This product originates, before git sha | ||
cc8cb98b29f68d12c8b5fa093a33dc3b346873b3, from software from DataStax | ||
and other individual contributors, with copyright and license as follows: | ||
|
||
Non-DataStax contributors are listed below. Those marked with | ||
asterisk have agreed to donate (copyright assign) their contributions to the | ||
Apache Software Foundation, signing CLAs when appropriate. | ||
|
||
Kishan Karunaratne <[email protected]> | ||
Lucas Meneghel @lmr | ||
Joaquin Casares @joaquincasares | ||
Andrew Hust @nutbunnies | ||
Jaume Marhuenda <[email protected]> | ||
Daniel Compton <[email protected]> * | ||
??? @steveandwang | ||
Byron Clark <[email protected]> * | ||
Thibault Charbonnier @thibaultcha | ||
Greg Bestland @GregBestland | ||
??? @c-kodman | ||
Sandeep Tamhankar @stamhankar999 | ||
Tomek Bujok @tombujok | ||
Pekka Enberg <[email protected]> | ||
Brian Weck @bweck | ||
Dimitri Krassovski <[email protected]> * | ||
??? @nattochaduke-yahoo | ||
??? @pydeveloper94 | ||
Geet Kumar @gkumar7 | ||
??? @scharron | ||
Eric Stevens @MightyE | ||
Rui Chen <[email protected]> | ||
??? @ezacks-barracuda | ||
Tetsuya Morimoto @t2y | ||
Casey Marshall @csmlyve | ||
??? @jillichrome | ||
??? @ekooiker | ||
Chris Bargren <[email protected]> | ||
Xian Yi Teng <[email protected]> | ||
Stefano Ortolani @ostefano * | ||
Cormoran <[email protected]> | ||
??? @hatokani2 | ||
??? @jeremycnf | ||
Samuel Roberts @sproberts92 | ||
Alexei Maridashvili <[email protected]> * | ||
Michael Hamm <[email protected]> | ||
Lerh Low @juiceblender | ||
Peter Palaga <[email protected]> * | ||
Hannu Kröger @hkroger * | ||
Jacob Fenwick <[email protected]> | ||
Ulises Cervino Beresi <[email protected]> * | ||
Jack Kingsman @jkingsman * | ||
Yasuharu Goto <[email protected]> | ||
David Sauer <[email protected]> | ||
Nick Bailey <[email protected]> | ||
Alex Popescu @al3xandru |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
CCM (Cassandra Cluster Manager) | ||
CASSANDRA-17379 README | ||
==================================================== | ||
|
||
|
||
---- | ||
|
||
|
||
|
||
WARNING - CCM configuration changes using updateconf does not happen according to CASSANDRA-17379 | ||
------------------------------------------------------------------------------------------------- | ||
|
||
After CASSANDRA-15234, to support the Python upgrade tests CCM updateconf is replacing | ||
new key name and value in case the old key name and value is provided. | ||
For example, if you add to config `permissions_validity_in_ms`, it will replace | ||
`permissions_validity` in default cassandra.yaml | ||
This was needed to ensure correct overloading as CCM cassandra.yaml has keys | ||
sorted lexicographically. CASSANDRA-17379 was opened to improve the user experience | ||
and deprecate the overloading of parameters in cassandra.yaml. In CASSANDRA 4.1+, by default, | ||
we refuse starting Cassandra with a config containing both old and new config keys for the | ||
same parameter. Start Cassandra with `-Dcassandra.allow_new_old_config_keys=true` to override. | ||
For historical reasons duplicate config keys in cassandra.yaml are allowed by default, start | ||
Cassandra with `-Dcassandra.allow_duplicate_config_keys=false` to disallow this. Please note | ||
that key_cache_save_period, row_cache_save_period, counter_cache_save_period will be affected | ||
only by `-Dcassandra.allow_duplicate_config_keys`. Ticket CASSANDRA-17949 was opened to decide | ||
the future of CCM updateconf post CASSANDRA-17379, until then - bear in mind that old replace | ||
new parameters' in cassandra.yaml when using updateconf even if | ||
`-Dcassandra.allow_new_old_config_keys=false` is set by default. | ||
|
||
TLDR Do not exercise overloading of parameters in CCM if possible. Also, the mentioned changes | ||
are done only in master branch. Probably the best way to handle cassandra 4.1 in CCM at this | ||
point is to set `-Dcassandra.allow_new_old_config_keys=false` and | ||
`-Dcassandra.allow_duplicate_config_keys=false` | ||
to prohibit any kind of overloading when using CCM master and CCM released versions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,6 @@ | ||
CCM (Cassandra Cluster Manager) | ||
==================================================== | ||
|
||
WARNING - CCM configuration changes using updateconf does not happen according to CASSANDRA-17379 | ||
------------------------------------------------------------------------------------------------- | ||
|
||
After CASSANDRA-15234, to support the Python upgrade tests CCM updateconf is replacing | ||
new key name and value in case the old key name and value is provided. | ||
For example, if you add to config `permissions_validity_in_ms`, it will replace | ||
`permissions_validity` in default cassandra.yaml | ||
This was needed to ensure correct overloading as CCM cassandra.yaml has keys | ||
sorted lexicographically. CASSANDRA-17379 was opened to improve the user experience | ||
and deprecate the overloading of parameters in cassandra.yaml. In CASSANDRA 4.1+, by default, | ||
we refuse starting Cassandra with a config containing both old and new config keys for the | ||
same parameter. Start Cassandra with `-Dcassandra.allow_new_old_config_keys=true` to override. | ||
For historical reasons duplicate config keys in cassandra.yaml are allowed by default, start | ||
Cassandra with `-Dcassandra.allow_duplicate_config_keys=false` to disallow this. Please note | ||
that key_cache_save_period, row_cache_save_period, counter_cache_save_period will be affected | ||
only by `-Dcassandra.allow_duplicate_config_keys`. Ticket CASSANDRA-17949 was opened to decide | ||
the future of CCM updateconf post CASSANDRA-17379, until then - bear in mind that old replace | ||
new parameters' in cassandra.yaml when using updateconf even if | ||
`-Dcassandra.allow_new_old_config_keys=false` is set by default. | ||
|
||
TLDR Do not exercise overloading of parameters in CCM if possible. Also, the mentioned changes | ||
are done only in master branch. Probably the best way to handle cassandra 4.1 in CCM at this | ||
point is to set `-Dcassandra.allow_new_old_config_keys=false` and | ||
`-Dcassandra.allow_duplicate_config_keys=false` | ||
to prohibit any kind of overloading when using CCM master and CCM released versions | ||
|
||
|
||
CCM (Cassandra Cluster Manager) | ||
==================================================== | ||
|
||
A script/library to create, launch and remove an Apache Cassandra cluster on | ||
localhost. | ||
|
@@ -391,6 +362,3 @@ how to use ccmlib follows: | |
# after the test, you can leave the cluster running, you can stop all nodes | ||
# using cluster.stop() but keep the data around (in CLUSTER_PATH/test), or | ||
# you can remove everything with cluster.remove() | ||
|
||
-- | ||
Sylvain Lebresne <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.