Starting DataStax Enterprise as a stand-alone process
Steps for starting the DataStax Enterprise process when DataStax Enterprise was installed from a tarball or from the DataStax Installer with the No Services option.
Considerations
Be aware of the following when starting a cluster:
- Nodes must be segregated by datacenters
- With the exception of SearchAnalytics nodes, transactional (Cassandra), DSE Search,
and DSE Analytics nodes must be in separate datacenters. For example, in a
cluster with both DSE Search and transactional nodes, all DSE Search nodes
must be in a one or more search datacenters and all transactional nodes must
be in one or more Cassandra datacenters. Note: DSE Graph can be enabled on any node in any datacenter. It no longer needs to be enabled on every node within a datacenter.
- Deploying a mixed-workload cluster
-
When deploying one or more datacenters for each type of node, first determine which nodes to start as transactional, analytic, DSE Graph only, DSE Graph plus other types, and DSE Search nodes. Deploy in this order:
- Analytic seed nodes.
- Cassandra or DSE Graph only seed nodes.
- DSE Search seed nodes.
- Remaining nodes one at a time. See Multiple datacenter deployment.
Attention: When using DSE Hadoop, do not start all the nodes at the same time, as this causes contention among Hadoop nodes to become the Job Tracker. - DSE Analytics nodes
- Before starting DSE Analytics nodes, ensure that the replication factor is configured correctly for the analytics keyspaces. Every time you add a new datacenter, you must manually increase the replication factor of the dse_leases keyspace for the new DSE Analytics datacenter.
Start up commands
Node/datacenter | Command |
---|---|
Cassandra only | $ bin/dse cassandra |
DSE Graph | $ bin/dse cassandra -g Note: DSE Graph does
not support Hadoop.
|
DSE Analytics with Spark | $ bin/dse cassandra -k |
DSE Search | $ bin/dse cassandra -s |
DSE Hadoop | $ bin/dse cassandra -t
DSE Hadoop uses Hadoop 1.0.4 libraries uses built-in Hadoop Job Trackers and Task Trackers. |
-k
and -s
in
dse cassandra -k -s
.Node type | Settings |
---|---|
Spark Analytics, DSE Graph, and DSE Search node | $ bin/dse cassandra -k -g -s |
BYOS (Bring Your Own Spark) Spark nodes run in separate Spark cluster from a vendor other than DataStax. |
$ bin/dse cassandra |
DSE Graph and BYOS | $ bin/dse cassandra -g |
DSE Graph and BYOH (DSE Graph with Bring Your Own
Hadoop) Hadoop nodes run in separate Hadoop cluster from a vendor other than DataStax. |
$ bin/dse cassandra -g |
SearchAnalytics
nodes An integrated DSE SearchAnalytics cluster allows analytics jobs to be performed using search queries. |
$ bin/dse cassandra -k -s |
DSE Graph and DSE Hadoop | Not supported. |
Prerequisites
Procedure
If DataStax Enterprise is running, stop the node.