This repository has been archived by the owner on Feb 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdse.default.erb
52 lines (39 loc) · 1.95 KB
/
dse.default.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# NOTICE: See also /etc/dse/cassandra/cassandra-env.sh
# EXTRA_CLASSPATH provides the means to extend Cassandra's classpath with
# additional libraries. It is formatted as a colon-delimited list of
# class directories and/or jar files. For example, to enable the
# JMX-to-web bridge install libmx4j-java and uncomment the following.
EXTRA_CLASSPATH="<%=node[:datastax][:dse][:extra_classpath]%>"
# enable this to start Hadoop's JobTracker and/or TaskTrackers on this machine.
# If left disabled, this will act as a regular Cassandra node.
HADOOP_ENABLED=<%=node[:datastax][:dse][:hadoop_enabled] ? 1 : 0%>
# enable this to set the replication factor for CFS. Note that this will only
# have an effect the first time a cluster is started with HADOOP_ENABLED=1 and
# after that will be a no-op. Defaults to 1.
<% if node[:datastax][:dse][:hadoop_enabled] %>
CFS_REPLICATION_FACTOR=<%=node[:datastax][:dse][:cfs_replication_factor]%>
<%end%>
# enable this to start Solr search indexing on this machine. If left disabled,
# this will act as a regular Cassandra node.
SOLR_ENABLED=<%=node[:datastax][:dse][:solr_enabled] ? 1 : 0%>
# enable this to start Spark on this machine. If this is enabled, HADOOP_ENABLED
# must also also be 1.
SPARK_ENABLED=<%= node[:datastax][:dse][:spark_enabled] ? 1 : 0 %>
# Install root
if [ -d /usr/share/dse ]; then
DSE_HOME=<%= node[:datastax][:dse][:dse_home] %>
fi
# Location of log output
OUTPUT_FILE=<%= node[:datastax][:dse][:output_file] %>
# Configuration directory
CONFDIR=<%= node[:datastax][:dse][:output_file] %>
# Set the PID file location here
PIDFILE=<%= node[:datastax][:dse][:pid_file] %>
# Where do Hadoop log files go? This will override the default
#HADOOP_LOG_DIR=
# Where do Tomcat log files go? This will override the default
#TOMCAT_LOGS=
# Ths user to use for the service
CASSANDRA_USER=<%= node[:datastax][:cassandra][:user] %>
# Ths group to use for the service
CASSANDRA_GROUP=<%= node[:datastax][:cassandra][:group] %>