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}

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com