DataStax Enterprise 3.1 Documentation

DataStax Enterprise configuration (dse.yaml)

This documentation corresponds to an earlier product version. Make sure this document corresponds to your version.

Latest DSE documentation | Earlier DSE documentation

The dse.yaml file is the configuration file for setting the delegated snitch, Kerberos authentication, and purging of expired data from the Solr indexes. It is located in the following directories:

  • Packaged installs: /etc/dse/cassandra
  • Binary installs: <install_location>/resources/dse/conf

For cassandra.yaml configuration, see Node and cluster configuration (cassandra.yaml).

Snitch settings

The following property sets which snitch is delegated:


(Default: com.datastax.bdp.snitch.DseSimpleSnitch) The snitch to be delegated by the DseDelegateSnitch. The DseSimpleSnitch places Cassandra, Hadoop, and Solr nodes into separate data centers. See DseSimpleSnitch.

For more information, see About snitches in the Cassandra documentation.

Kerberos support

The following properties set the QOP (Quality of Protection) and encryption options:


  • keytab: resources/dse/conf/dse.keytab

  • service_principal: dse/_HOST@<REALM>

  • http_principal: HTTP/_HOST@<REALM>

  • qop: auth A comma-delimited list of Quality of Protection values that clients and servers can use for each connection. The valid values are:

    • auth: (Default) Authentication only.

    • auth-int: Authentication plus integrity protection for all transmitted data.

    • auth-conf: Authentication plus integrity protection and encryption of all transmitted data.

      Encryption using auth-conf is separate and completely independent of whether encryption is done using SSL. If both auth-conf and SSL are enabled, the transmitted data is encrypted twice. DataStax recommends choosing one and using it for both encryption and authentication.


The options are:

  • enabled: (Default: false)
  • keystore: resources/dse/conf/.keystore
  • keystore_password: cassandra
  • keystore_type: JKS
  • truststore: resources/dse/conf/.truststore
  • truststore_password: cassandra
  • truststore_type JKS
  • protocol: ssl
  • cipher_suites: [TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA]

Scheduler settings for Solr indexes

These settings control the schedulers in charge of querying for and removing expired data.


The options are:

  • initial_delay: (Default: 20 seconds) Speeds up startup by delaying the first TTL checks.
  • fix_rate_period: (Default: 300 seconds) Schedules how often to check for expired data.
  • max_docs_per_batch: (Default: 200) The maximum number of documents deleted per batch by the TTL rebuild thread.

Multi-threaded indexing

DSE Search provides multi-threaded indexing implementation to improve performance on multi-core machines. All index updates are internally dispatched to a per-core indexing thread pool and executed asynchronously, which allows for greater concurrency and parallelism. However, index requests can return a response before the indexing operation is executed.


(Default: number of available cores times 2) Configures the number of available indexing threads per core. If set to 1, DSE Search returns to the synchronous indexing behavior.

Solr indexing performance tuning

Back-pressure aims at reducing the rate of inserts to relieve memory pressure and cpu/IO usage so that the flush/commit can happen faster. Back-pressure takes effect when a flush/commit is requested. On overloaded systems experiencing an high write rate and slow index/commit performance, try tuning the back-pressure threshold to improve Solr indexing performance by adding this option to the dse.yaml file and configuring it:


By default, the back-pressure threshold is based on the total number of queued requests, rather than the average.