Default file locations for package and Installer-Services installations

The default location of the files depend on how DataStax Enterprise is installed:

  • The files are in the same locations for Package installations.

  • The files are in the same locations for Tarball.

Default directories for cassandra.yaml and dse.yaml

Directories Description

/etc/dse/cassandra/cassandra.yaml

cassandra.yaml is the main configuration file for the DataStax Enterprise database with default configuration for all nodes.

/etc/dse/dse.yaml

dse.yaml is the main configuration file for DataStax Enterprise.

Default database directories

Directories Description

/var/lib/cassandra/data

commitlog, data, hints, saved_caches directories

/var/log/cassandra

Log files, including:

  • audit directory

  • debug.log

  • gremlin.log

  • solrvalidation.log

  • system.log

/var/run/cassandra

Database process ID (pid) directory

/usr/share/dse/cassandra/tools

Tools for testing, starting, using SSTables, plus YAML examples.

/etc/dse/cassandra

Property files and cqlshrc samples including:

  • cassandra-env.sh

  • cassandra-rackdc.properties

  • cassandra-topology.properties

  • cassandra-topology.yaml

  • commitlog_archiving.properties

  • cqlshrc.sample

  • logback.xml

/etc/init.d

Set node type and other server configuration

Default DSEFS data directory

The default location for the DSEFS data directory is /var/lib/dsefs.

Default DataStax Enterprise Installer directories, install logs, and uninstaller

Directories Description

/usr/share/dse/backups/log_file_dir

Backup and log files:

  • bitrock_installer.log

  • copied_config_files.log

  • install_dependencies.log

  • pfc_results.txt

  • Backup files from previous releases

/usr/share/dse/uninstall

Uninstall DataStax Enterprise

Default DSE Graph directories

Directories Description

/etc/dse/graph/gremlin-console/conf/remote.yaml

Gremlin console configuration for connection to the Gremlin Server, including Kerberos authentication and SSL encryption.

/etc/dse/graph/logback-gremlin-server.xml

GremlinServerFileAppender

Default DSE Search directories

Directories Description

/usr/share/dse/resources/solr/conf

Solr configuration

/usr/share/dse/demos/wikipedia

Search - Wikipedia demo

/usr/share/dse/solr/web/demos/wikipedia

Search - Wikipedia demo with Tomcat

/var/log/cassandra

Search log messages are in the system.log file

Default Spark directories

Directories Description

/etc/dse/spark/

spark-env.sh, spark-defaults.conf, spark-daemon-defaults.conf

/usr/share/dse/spark/lib

Spark library

/var/log/spark

Spark Master and Worker logs

/usr/share/dse/spark/spark-jobserver

Spark Jobserver

/usr/share/dse/demos/portfolio_manager

Spark Portfolio Manager demo

/var/lib/dsefs

The default directory to store the DSE File System data.

Default location for the logback configuration file

Directories Description

/etc/dse/cassandra/logback.xml

logback.xml is the logback configuration file

Default location audit logs

Default location audit logs
Directories Description

/etc/dse/tomcat/conf/server.xml/etc/dse/tomcat/conf/server.xml

Default location for Tomcat server logs for DSE Search.

/var/log/cassandra/dropped_audit_events.log

Default location for dropped events logs.

Default DSE Multi-Instance configuration files

With DSE Multi-Instance, multiple DataStax Enterprise nodes reside on a single host machine. To segregate the configuration for each DataStax Enterprise node, node-specific directory structures are used to store configuration and operational files. For example, in addition to /etc/dse/dse.yaml, the DSE Multi-Instance dse.yaml files are stored in /etc/dse-nodeId/dse.yaml locations. The server_id option is generated in DSE Multi-Instance /etc/dse-nodeId/dse.yaml files to uniquely identify the physical server on which multiple instances are running and is unique for each database instance. See DSE Multi-Instance server_id.

Default DSE Multi-Instance configuration files
Directories Description

/etc/dse

/etc/dse/dse.yaml is the primary configuration file for DataStax Enterprise

/etc/dse-node1

/etc/dse-node1/dse.yaml is the configuration file for the DataStax Enterprise node in the dse-node1 directory

/etc/dse-node2

/etc/dse-node2/dse.yaml is the configuration file for the DataStax Enterprise node in the dse-node2 directory

For a comprehensive list of file locations in a DSE Multi-Instance cluster, see directories for DSE Multi-Instance.

Default DSE Multi-Instance generated directories

With DSE Multi-Instance, these directories are created on the host machine for each node.

Default DSE Multi-Instance generated directories
Purpose Directories Description

DSE Multi-Instance root directory

/etc/defaults

Each DSE Multi-Instance host machine has the /etc/defaults root directory. This default location is not configurable.

DataStax Enterprise node type

/etc/defaults/dse-nodeId

Defines the node type (transactional, search, analytics, graph, and so on).

DataStax Enterprise configuration file

/etc/dse-nodeId/dse.yaml

The dse.yaml configuration file for each node.

DataStax Enterprise process ID (pid) directory

/var/run/dse-nodeId.dse-nodeId.pid

The default DataStax Enterprise process ID (pid) directory for each node.

Database configuration

/etc/dse-nodeId/cassandra/cassandra.yaml

The cassandra.yaml configuration file for each node.

Database data directory

/var/lib/dse-nodeId/data

The root directory for storing data on each node. Define with dse add-node --data-directory=directory …​

Database log files

/var/log/dse-nodeId/cassandra

The default directory where the audit.log, output.log, solrvalidation.log, and system.log files are stored for each node. Define with dse add-node --logs-directory …​

Database pid directory

/var/run/dse-nodeId

Database process ID (pid) directory for each node.

Caches directory

/var/lib/dse-nodeId/saved_caches

The table key and row caches directory for each node. Define with dse add-node --saved-caches-directory=directory …​

Commit log files

/var/lib/dse-nodeId/commitlog

The commit log directory for each node. Define with dse add-node --commit-directory=directory …​

Hints directory

/var/lib/dse-nodeId/hints

The hints directory for each node. Define with dse add-node --hints-directory=directory …​

Spark configuration file

/etc/dse-nodeId/spark/spark-env.sh

Spark configuration file spark-env.sh for each node.

Spark Worker data directory

/var/lib/dse-nodeId/spark/worker

The data directory for Spark Worker for each node. Define with dse add-node --spark-worker-directory=directory …​

Spark Worker local node directory

/var/lib/dse-nodeId/spark/rdd

The local directory for Spark Worker for each node. Define with dse add-node --spark-local-directory=directory …​

Spark logs directory

/var/log/dse-nodeId/spark

The Spark logs directory for each node.Define with dse add-node --spark-log-directory=directory …​

Logback configuration

/etc/dse-nodeId/cassandra/logback.xml

Logback configuration file for each node.

Solr configuration

/etc/dse-nodeId/solr

Solr configuration files for each node.

Tomcat log files

/var/log/dse-nodeId/tomcat

The directory for Tomcat server logs. Define with dse add-node --tomcat-logs=directory…​

Licenses and other documents

The default location is <installation_location>. Also see DataStax Enterprise third-party software.

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