Contributed by Seth Rosenblum.
cassandra.tmp_dir
is a new attribute that controls JNA and
JVM temporary directory (java.io.tmpdir
) location.
Contributed by Jack Bracken.
Contributed by Corentin Chary and Anthony Rabier.
Hints directory is no longer set for C* 2.x as it's only supported in 3.x.
Contributed by William Dauchy.
cassandra.config.streaming_socket_timeout_in_ms
now defaults to 1 hour.
Contributed by Dimitris Verraros.
Add syslog appender to log to remote servers.
Contributed by Andrew Nolan.
Contributed by Michael Saffitz.
Contributed by Jason J. W. Williams.
Contributed by Radek Wierzbicki.
Contributed by Otavio Fernandes.
A number of tuning options have been added to the cookbook to provide more knobs to control performance in the JVM. This work is centered around the use-case of Oracle JDK 8 with the G1 GC.
Contributed by Matthew Silvey.
For example, the cassandra
package shouldn't be installed
when DSE is provisioned.
Contributed by Bill Warner and Dimitris Verraros.
...and is now configured correctly when overridden.
Contributed by Michael Belt.
The attribute node[:cassandra][:config][:commitlog_total_space_in_mb]
takes on the cassandra default of 4096
and may be reconfigured.
Contributed by Geoff Hichborn
Tested with chef 0.9.0 but prior and later versions should still work.
run with
rake unit
Contributed by Bill Warner.
The attribute node[:cassandra][:local_jmx]
defaults to true
now, making
JMX listen on localhost only. This is the default since cassandra 2.0.14 and
2.1.4 and fixes the remote code execution exploit from CVE-2015-0225.
Should you choose to enable remote JMX access by setting this to false, be aware that this cookbook currently does not support configuring authentication for JMX, so you should limit access to the JMX port by other means, such as firewalling.
Contributed by Bernhard Weisshuhn.
See node[:cassandra][:setup_priam]
and related node attributes.
Contributed by Scott McMaster.
Node IP address is now correctly passed to nodetool
.
Contributed by Scott McMaster.
Default seed discovery query will now respect node[:cassandra][:config][:cluster_name]
.
Contributed by Robert Berger.
The cookbook will now pick the correct jamm version for the Cassandra version it is asked to provision.
Contributed by Robert Berger.
4.0.0
has breaking changes in attribute structure.
Node configuration attributes are now under node['cassandra']['config']
. Since
there are many of them, please consult the default attributes file.
SHA256 is now used instead of MD5 for checksums. The cookbook now provides checksums for Cassandra versions up to 2.2.0.
The cookbook now provisions Cassandra 2.2.0 by default.
The cookbook will now use Chef search to discover seed nodes. The exact query used is configurable. Search is disabled by default.
The following node attribute snippet enables Chef search and will list
IP addresses of nodes with roles cassandra
and cassandra-seed
:
"cassandra": {
"seed_discovery": {
"use_chef_search": true,
"search_query": "role:cassandra-seed OR role:cassandra"
}
}
cassandra-dse::tarball
now handles arrays of data dirs.
Contributed by Bryce Lynn.
GH issue: #154.
FD_LIMIT
value in the init script is now corrently
set to the node[:cassandra][:limits][:nofile]
value.
Contributed by Rich Schumacher.
GH issue: #201.
If Cassandra conf directory doesn't exist, it will be created.
Contributed by Ahmed Ferdous.
The cookbook has a new name: cassandra-dse
, and is available from
Chef Supermarket.
Main recipe names is therefore now cassandra-dse::default
.
Multiple bug fixes.
- Virender Khatri: Updated README for v2.1
- Virender Khatri: C* version 2.1.x version support
- Virender Khatri: Disabled <2.1 cassandra parameters for 2.1
- Virender Khatri: Added 2.1 cassandra parameters
- Virender Khatri: jamm_version attribute for C* version dependency
- Virender Khatri: Added logback config files for v2.1
- Virender Khatri: Disabled jna for v2.1 and later
- MikeB: Fixed check for Java Attribute UseCondCardMark addition for x86_64 arch
- Virender Khatri: Added yum node attributes for DSE
- Virender Khatri: Added apt node attributes for DSE/DSC
- Lars Pfannenschmidt: Fixed UseCondCardMark is only supported under 64-Bit systems
- Chris: Updated README for yum and jna attr
- Chris: Added yum node attributes for DSE
- Chris: Added Refactor attributes in .kitchen.yml
- Chris: Added node Oracle Java version for minimum Java version requirement
- Chris: Added java version for minimum Java version requirement
- Xynergy: Fixed C* release attribute for datastax
- Virender Khatri: Moved node C* sub directories attributes to recipe
- Virender Khatri: Added C* service notifies for init.d and other files
- Virender Khatri: Added few Java Parameters
- Virender Khatri: Renamed default attributesrb to common.rb and moved attributes among other attributes files
- Tim Nicholas: Added log4j root logger attribute
- Tim Nicholas: Added cassandra-rackdc.properties.erb for datastax recipe
- Tim Nicholas: Fixed directory/files structure and ownership for datastax recipe
- Tim Nicholas: Added C* encryption
- Anthony Acquanita: Updated README for datastax recipe being default
- Virender Khatri: Fixed indent and C* service name / notify
- Alex Groleau: Added node default service action attribute for C* service
- Alex Groleau: Fixed jna var issue
- Michael Klishin: Updated Changelog
Contributed by Virender Khatri.
log_dir
now always has at least one slash, regardless of whether there
is a trailing slash in the user-provided attribute value.
GH issue: #86.
Contributed by Federico Silva.
user_home
is a new attribute that customizes Cassandra user $HOME
location.
Contributed by Virender Khatri.
The JNA recipe is no longe needed.
Contributed by Virender Khatri.
The cookbook now provides default node attributes specific to the DSE recipe.
Contributed by Anton Chebotaev.
Contributed by Anton Chebotaev.
The cookbook now uses a 3 component version that's compatible
with Chef server (no longer uses -pre
for dev versions).
Contributed by Anton Chebotaev.
- Added check for C* binary
- Added check for nodetool binary
- Added extra pre-steps for C* service stop: disable thrift, disable gossip, node drain
Contributed by Virender Khatri.
Contributed by Virender Khatri.
Default Cassandra version provisioned is now 2.0.9
.
Contributed by Maksim Rusan.
Corrects yum package release for dsc20 2.0.8.
GH issue: #73.
Contributed by Brent Theisen.
When package provisioning is used on Debianoids, apt will be pinned to the exact version to avoid unexpected upgrades.
Contributed by klamontagne.