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_DIRECTORY/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.yamlCHANGES ========= 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.yamlFor deprecated settings, check the release notes.
graph: - {'gremlin_server': None}