Default file locations for Installer-Services and package installations 

Locations when installing from the DataStax Installer with Services option or package installations.

The default location of the files depend on how DataStax Enterprise is installed. The DataStax Installer installs files differently depending on whether Services or No Services option is selected during installation:
  • When Services is selected, the files are located in the same locations as package installations.
  • When No Services are selected, the files are located in the same locations as the tarball installations.

DSE Multi-Instance 

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.
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 directories for cassandra.yaml and dse.yaml 

Directories Description
/etc/dse/cassandra cassanda.yaml is the main configuration file for Cassandra with default configuration for all nodes.
/etc/dse dse.yaml is the main configuration file for DataStax Enterprise.

Default BYOH directories 

Directories Description
/etc/dse byoh-env.sh is the BYOH configuration file to:
  • Set up the DataStax Enterprise environment
  • Define the BYOH environment variables

Default Cassandra directories 

Directories Description
/var/lib/cassandra commitlog, data, hints, saved_caches directories
/var/log/cassandra Cassandra log files, including:
  • audit directory
  • debug.log
  • gremlin.log
  • solrvalidation.log
  • system.log
You can change logging locations.
/var/run/cassandra Cassandra process ID (pid) directory
/usr/share/dse/cassandra Cassandra environment settings
/usr/share/dse/cassandra/tools Cassandra tools and YAML examples
/etc/dse/cassandra/ 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

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 Hadoop directories 

Directories Description
/etc/dse/hadoop Hadoop configuration
/usr/share/dse/demos/portfolio_manager Hadoop Portfolio Manager demo

Default Hive directories 

The default location is /etc/dse/hive.

Default Mahout directories 

Directories Description
/etc/dse/mahout Mahout properties
/usr/share/demos/mahout Mahout demo

Default Pig directories 

Directories Description
/etc/dse/pig Pig configuration
/usr/share/demos/pig Pig demo

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 Solr log messages are in the Cassandra system.log file.

Default Spark directories 

Directories Description
/etc/dse/spark spark-env.sh is the Spark configuration file
/usr/share/dse/spark/work Spark work directory
/usr/share/dse/spark/logs Spark Master and Worker logs
/usr/share/dse/demos/spark Spark Portfolio Manager demo
/var/lib/dsefs The default directory to store the DSE File System data.

Default Sqoop directories 

Directories Description
/etc/dse/sqoop Sqoop configuration
/usr/share/dse/resources/sqoop Sqoop environment settings
/usr/share/dse/demos/sqoop Sqoop demo

Default location for the logback configuration file 

Directories Description
/etc/dse/cassandra logback.xml is the logback configuration file

Default location audit logs 

Directories Description
/var/log/tomcat Default location for Tomcat server logs for DSE Search.
/var/log/cassandra/dropped_audit_events.log Default location for Cassandra dropped events logs.

Default OpsCenter directories 

See the OpsCenter documentation.

Directories for DSE Multi-Instance 

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 (Cassandra transactional, DSE Search, DSE Analytics, DSE 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.
Cassandra configuration /etc/dse-nodeId/cassandra/cassandra.yaml The cassandra.yaml configuration file for each node.
Cassandra data directory /var/lib/dse-nodeId/data The root directory for storing data on each node.

Define with dse add-node --data-directory=directory ...

Cassandra 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 dse add-node --logs-directory=directory ...

Cassandra pid directory /var/run/dse-nodeId Cassandra 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 ...

BYOH configuration /etc/dse-nodeId/byoh-env.sh Bring your own Hadoop (BYOH) configuration file for each node:
  • Set up the DataStax Enterprise environment
  • Define the BYOH environment variables
DSE Hadoop configuration /etc/dse-nodeId/hadoop DataStax Enterprise Hadoop configuration files for each node.
Hive configuration /etc/dse-nodeId/hive Hive configuration files for each node.
Logback configuration /etc/dse-nodeId/cassandra/logback.xml Logback configuration file for each node.
Mahout configuration /etc/dse-nodeId/mahout Mahout configuration files for each node.
Pig configuration /etc/dse-nodeId/pig Pig configuration files for each node.
Solr configuration /etc/dse-nodeId/solr Solr configuration files for each node.
Sqoop configuration /etc/dse-nodeId/sqoop Sqoop 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 ...

Default directory for Token-generator tool 

Location Description
/usr/bin/token-generator For manually calculating tokens.

Licenses and other documents 

The default location is /usr/share/doc/dse-full.