Default file locations for package installations
Locations when installing from DataStax Enterprise packages.
The default location of the files depends on how DataStax Enterprise is installed.
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:
|
/var/run/cassandra | Database process ID (pid) directory |
/usr/share/dse/cassandra | Environment settings |
/usr/share/dse/cassandra/tools | Tools for testing, starting, using SSTables, plus YAML examples. |
/etc/dse/cassandra | Property files and cqlshrc samples including:
|
/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 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
Directories | Description |
---|---|
/etc/dse/tomcat/conf/server.xml/etc/dse/tomcat/conf/web.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 OpsCenter directories
See the DSE OpsCenter documentation.
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.
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 | A 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 | A configuration file for each node. |
Database data directory | /var/lib/dse-nodeId/data | The root directory for storing data on each node. Define with |
Database log files | /var/log/dse-nodeId/cassandra | The default directory where the audit.log,
output.log, solrvalidation.log, and
system.log log files are stored for each node. Define with
|
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
|
Commit log files | /var/lib/dse-nodeId/commitlog | The commit log directory for each node. Define with |
Hints directory | /var/lib/dse-nodeId/hints | The hints directory for each node. Define with |
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 |
Spark Worker local node directory | /var/lib/dse-nodeId/spark/rdd | The local directory for Spark Worker for each node. Define with |
Spark logs directory | /var/log/dse-nodeId/spark | The Spark logs directory for each node. Define with |
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 |
Licenses and other documents
The default location is installation_location. Also see DataStax Enterprise third-party software.