yaml_diff
The yaml_diff
compares the differences between specified cassandra.yaml
or dse.yaml
files.
The default location of the yaml comparison tool depends on the type of installation:
-
Package installations:
/usr/share/dse/tools/yamls
-
Tarball installations:
<install_location>/tools/yamls
Before comparing the yaml files, install PyYAML:
sudo pip install pyyaml
Synopsis
./yaml_diff </path/to/cassandra.yaml.orig> [ </path/to/cassandra.yaml.fresh> ]
Examples
To check differences between cassandra.yaml files:
./yaml_diff ~/resources/cassandra/conf/cassandra.yaml /etc/dse/cassandra/cassandra.yaml
CHANGES
=========
memtable_allocation_type:
- heap_buffers
+ offheap_objects
NEW SETTINGS
==============
user_defined_function_warn_micros:
+ 500
user_function_timeout_policy:
+ die
user_defined_function_fail_micros:
+ 10000
user_defined_function_warn_heap_mb:
+ 200
user_defined_function_fail_heap_mb:
+ 500
To check differences between dse.yaml files:
./yaml_diff /Users/jdoe/prodNorth604/resources/dse/conf/dse.yaml /Users/jdoe/prodSouth675/resources/dse/conf/dse.yaml
Some of these settings may be deprecated, check the release notes. |
graph:
- {'gremlin_server': None}