Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: locp/cassandra
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.3.7
Choose a base ref
...
head repository: locp/cassandra
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.4.0
Choose a head ref

Commits on Sep 1, 2015

  1. Copy the full SHA
    1028a5c View commit details
  2. Merge remote-tracking branch 'origin/Issue97_cassandra_service_enable…

    …_is_ignored' into v1.4.0
    dallinb committed Sep 1, 2015
    Copy the full SHA
    2285731 View commit details

Commits on Sep 4, 2015

  1. Copy the full SHA
    1688211 View commit details
  2. Copy the full SHA
    6f72be8 View commit details

Commits on Sep 7, 2015

  1. Copy the full SHA
    b9e14ab View commit details
  2. Copy the full SHA
    eaacfdf View commit details
  3. Copy the full SHA
    7c2fde2 View commit details
  4. Copy the full SHA
    511b35f View commit details
  5. Corrected the spec test and renamed batch_size_warn_threshold to

    batch_size_warn_threshold_in_kb as this follows the naming convention in
    the template (voxpupuli#83, voxpupuli#100).
    dallinb committed Sep 7, 2015
    Copy the full SHA
    6a913a8 View commit details
  6. Copy the full SHA
    8a69af4 View commit details
  7. Copy the full SHA
    a3066b0 View commit details

Commits on Sep 9, 2015

  1. Copy the full SHA
    9dd3622 View commit details
  2. Added the following parameters to the README (voxpupuli#83):

    batchlog_replay_throttle_in_kb cas_contention_timeout_in_ms
    column_index_size_in_kb commit_failure_policy compaction_throughput_mb_per_sec
    counter_cache_save_period counter_write_request_timeout_in_ms
    cross_node_timeout dynamic_snitch_badness_threshold
    dynamic_snitch_reset_interval_in_ms dynamic_snitch_update_interval_in_ms
    hinted_handoff_throttle_in_kb index_summary_resize_interval_in_minutes
    inter_dc_tcp_nodelay max_hints_delivery_threads max_hint_window_in_ms
    permissions_validity_in_ms range_request_timeout_in_ms
    read_request_timeout_in_ms request_scheduler request_timeout_in_ms
    row_cache_save_period row_cache_size_in_mb
    sstable_preemptive_open_interval_in_mb tombstone_failure_threshold
    tombstone_warn_threshold trickle_fsync trickle_fsync_interval_in_kb
    truncate_request_timeout_in_ms write_request_timeout_in_ms
    dallinb committed Sep 9, 2015
    Copy the full SHA
    d7ee596 View commit details
  3. Added the following parameters to the default template (voxpupuli#83):

    batchlog_replay_throttle_in_kb cas_contention_timeout_in_ms
    column_index_size_in_kb commit_failure_policy compaction_throughput_mb_per_s
    counter_cache_save_period counter_write_request_timeout_in_ms
    cross_node_timeout dynamic_snitch_badness_threshold
    dynamic_snitch_reset_interval_in_ms dynamic_snitch_update_interval_in_ms
    hinted_handoff_throttle_in_kb index_summary_resize_interval_in_minutes
    inter_dc_tcp_nodelay max_hints_delivery_threads max_hint_window_in_ms
    permissions_validity_in_ms range_request_timeout_in_ms
    read_request_timeout_in_ms request_scheduler request_timeout_in_ms
    row_cache_save_period row_cache_size_in_mb
    sstable_preemptive_open_interval_in_mb tombstone_failure_threshold
    tombstone_warn_threshold trickle_fsync trickle_fsync_interval_in_kb
    truncate_request_timeout_in_ms write_request_timeout_in_ms
    dallinb committed Sep 9, 2015
    Copy the full SHA
    0928235 View commit details
  4. Added the following parameters to the cassandra class (voxpupuli#83):

    batchlog_replay_throttle_in_kb cas_contention_timeout_in_ms
    column_index_size_in_kb commit_failure_policy compaction_throughput_mb_per_s
    counter_cache_save_period counter_write_request_timeout_in_ms
    cross_node_timeout dynamic_snitch_badness_threshold
    dynamic_snitch_reset_interval_in_ms dynamic_snitch_update_interval_in_ms
    hinted_handoff_throttle_in_kb index_summary_resize_interval_in_minutes
    inter_dc_tcp_nodelay max_hints_delivery_threads max_hint_window_in_ms
    permissions_validity_in_ms range_request_timeout_in_ms
    read_request_timeout_in_ms request_scheduler request_timeout_in_ms
    row_cache_save_period row_cache_size_in_mb
    sstable_preemptive_open_interval_in_mb tombstone_failure_threshold
    tombstone_warn_threshold trickle_fsync trickle_fsync_interval_in_kb
    truncate_request_timeout_in_ms write_request_timeout_in_ms
    dallinb committed Sep 9, 2015
    Copy the full SHA
    e07a021 View commit details

Commits on Sep 10, 2015

  1. Added the following fields to the Cassandra1 template (voxpupuli#83):

    column_index_size_in_kb compaction_throughput_mb_per_sec cross_node_timeout dynamic_snitch_badness_threshold
    dynamic_snitch_reset_interval_in_ms dynamic_snitch_update_interval_in_ms hinted_handoff_throttle_in_kb
    inter_dc_tcp_nodelay max_hints_delivery_threads max_hint_window_in_ms permissions_validity_in_ms
    range_request_timeout_in_ms read_request_timeout_in_ms request_scheduler request_timeout_in_ms
    row_cache_save_period row_cache_size_in_mb trickle_fsync trickle_fsync_interval_in_kb
    truncate_request_timeout_in_ms write_request_timeout_in_ms
    dallinb committed Sep 10, 2015
    Copy the full SHA
    903ca8f View commit details
  2. Copy the full SHA
    8f1f203 View commit details
  3. Copy the full SHA
    a578faf View commit details
  4. Copy the full SHA
    23b7591 View commit details
  5. Copy the full SHA
    09a1eb6 View commit details
  6. v1.4.0

    dallinb committed Sep 10, 2015
    Copy the full SHA
    203540f View commit details
  7. v1.4.0

    dallinb committed Sep 10, 2015
    Copy the full SHA
    429d545 View commit details
  8. Copy the full SHA
    3958f84 View commit details
  9. Copy the full SHA
    4f30aad View commit details
  10. Copy the full SHA
    5a6ce02 View commit details
  11. Copy the full SHA
    7f185e8 View commit details
  12. v1.4.0

    dallinb committed Sep 10, 2015
    Copy the full SHA
    4ddbe57 View commit details
Showing with 924 additions and 184 deletions.
  1. +37 −0 CHANGELOG.md
  2. +168 −0 README.md
  3. +260 −0 index.html
  4. +110 −50 manifests/init.pp
  5. +1 −1 metadata.json
  6. +1 −1 params.json
  7. +295 −80 spec/classes/cassandra_spec.rb
  8. +31 −31 templates/cassandra.yaml.erb
  9. +21 −21 templates/cassandra1.yaml.erb
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
# Change Log for Puppet Module locp-cassandra

##2015-09-10 - Release 1.4.0

* Ensured that directories specified in the directory parameters
are controlled with file resources.

* Added the following parameters to the cassandra.yml file:
* batchlog_replay_throttle_in_kb
* cas_contention_timeout_in_ms
* column_index_size_in_kb
* commit_failure_policy
* compaction_throughput_mb_per_sec
* counter_cache_save_period
* counter_write_request_timeout_in_ms
* cross_node_timeout
* dynamic_snitch_badness_threshold
* dynamic_snitch_reset_interval_in_ms
* dynamic_snitch_update_interval_in_ms
* hinted_handoff_throttle_in_kb
* index_summary_resize_interval_in_minutes
* inter_dc_tcp_nodelay
* max_hints_delivery_threads
* max_hint_window_in_ms
* permissions_validity_in_ms
* range_request_timeout_in_ms
* read_request_timeout_in_ms
* request_scheduler
* request_timeout_in_ms
* row_cache_save_period
* row_cache_size_in_mb
* sstable_preemptive_open_interval_in_mb
* tombstone_failure_threshold
* tombstone_warn_threshold
* trickle_fsync
* trickle_fsync_interval_in_kb
* truncate_request_timeout_in_ms
* write_request_timeout_in_ms

##2015-09-08 - Release 1.3.7
* Made the auto_bootstrap parameter available.

168 changes: 168 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -382,6 +382,21 @@ This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value 'true'

##### `batchlog_replay_throttle_in_kb`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '1024'

##### `batch_size_warn_threshold_in_kb`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value 5

##### `cas_contention_timeout_in_ms`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '1000'

##### `cassandra_9822`
If set to true, this will apply a patch to the init file for the Cassandra
service as a workaround for
@@ -399,28 +414,46 @@ Default value 'cassandra/cassandra.yaml.erb'
##### `client_encryption_enabled`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
The field being set is `client_encryption_options -> enabled`.
Default value 'false'

##### `client_encryption_keystore`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
The field being set is `client_encryption_options -> keystore`.
Default value 'conf/.keystore'

##### `client_encryption_keystore_password`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
The field being set is `client_encryption_options -> keystore_password`.
Default value 'cassandra'

##### `cluster_name`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value 'Test Cluster'

##### `column_index_size_in_kb`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '64'

##### `commit_failure_policy`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: 'stop'

##### `commitlog_directory`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value '/var/lib/cassandra/commitlog'

##### `compaction_throughput_mb_per_sec`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '16'

##### `concurrent_counter_writes`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
@@ -443,6 +476,21 @@ systems or **/etc/cassandra** on Ubuntu. Otherwise the user can specify the
path name.
Default value *undef*

##### `counter_cache_save_period`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '7200'

##### `counter_write_request_timeout_in_ms`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '5000'

##### `cross_node_timeout`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: 'false'

##### `data_file_directories`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
@@ -466,6 +514,21 @@ This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value 'stop'

##### `dynamic_snitch_badness_threshold`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '0.1'

##### `dynamic_snitch_reset_interval_in_ms`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '600000'

##### `dynamic_snitch_update_interval_in_ms`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '100'

##### `endpoint_snitch`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
@@ -476,11 +539,26 @@ This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value 'true'

##### `hinted_handoff_throttle_in_kb`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '1024'

##### `index_summary_resize_interval_in_minutes`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '60'

##### `incremental_backups`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value 'false'

##### `inter_dc_tcp_nodelay`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: 'false'

##### `internode_compression`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
@@ -499,6 +577,16 @@ If set to true then a repository will be setup so that packages can be
downloaded from DataStax community.
Default value 'false'

##### `max_hints_delivery_threads`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '2'

##### `max_hint_window_in_ms`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '10800000'

##### `native_transport_port`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
@@ -523,6 +611,11 @@ This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value 'org.apache.cassandra.dht.Murmur3Partitioner'

##### `permissions_validity_in_ms`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '2000'

##### `prefer_local`
Sets the value for prefer_local in *config_path*/*snitch_properties_file* see
http://docs.datastax.com/en/cassandra/2.1/cassandra/architecture/architectureSnitchesAbout_c.html
@@ -537,6 +630,36 @@ http://docs.datastax.com/en/cassandra/2.1/cassandra/architecture/architectureSni
for more details.
Default value 'RAC1'

##### `range_request_timeout_in_ms`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '10000'

##### `read_request_timeout_in_ms`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '5000'

##### `request_scheduler`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: 'org.apache.cassandra.scheduler.NoScheduler'

##### `request_timeout_in_ms`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '10000'

##### `row_cache_save_period`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '0'

##### `row_cache_size_in_mb`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '0'

##### `rpc_address`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
@@ -560,31 +683,37 @@ Default value '/var/lib/cassandra/saved_caches'
##### `seeds`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
The field being set is `seed_provider -> parameters -> seeds`.
Default value '127.0.0.1'

##### `server_encryption_internode`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
The field being set is `server_encryption_options -> internode_encryption`.
Default value 'none'

##### `server_encryption_keystore`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
The field being set is `server_encryption_options -> keystore`.
Default value 'conf/.keystore'

##### `server_encryption_keystore_password`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
The field being set is `server_encryption_options -> keystore_password`.
Default value 'cassandra'

##### `server_encryption_truststore`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
The field being set is `server_encryption_options -> truststore`.
Default value 'conf/.truststore'

##### `server_encryption_truststore_password`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
The field being set is `server_encryption_options -> truststore_password`.
Default value 'cassandra'

##### `service_enable`
@@ -615,6 +744,11 @@ This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value '7001'

##### `sstable_preemptive_open_interval_in_mb`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '50'

##### `start_native_transport`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
@@ -630,6 +764,36 @@ This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value '7000'

##### `tombstone_failure_threshold`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '100000'

##### `tombstone_warn_threshold`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '1000'

##### `trickle_fsync`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: 'false'

##### `trickle_fsync_interval_in_kb`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '10240'

##### `truncate_request_timeout_in_ms`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '60000'

##### `write_request_timeout_in_ms`
This is passed to the
[cassandra.yaml](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html) file.
Default value: '2000'

### Class: cassandra::datastax_agent

A class for installing the DataStax Agent and to point it at an OpsCenter
@@ -1951,3 +2115,7 @@ identified that the dependency for puppetlabs-apt was incorrect
bug in the ability to set the running state of the Cassandra service and
subsequently submitted a pull request with a fix
(see [#93](https://github.com/locp/cassandra/issues/93)).

* [@markasammut](https://github.com/markasammut) contributed a pull request
to set the batch_size_warn_threshold_in_kb parameter (see
[#100](https://github.com/locp/cassandra/pull/100)).
Loading