Outdated Version
You are viewing an older version of this section. View current production version.
SPARK-COMPONENT-START
MemSQL Ops has been deprecated
Please follow this guide to learn how to migrate to SingleStore tools.
Available since MemSQL Ops version 4.1.7.
Start one or all Spark components in the cluster.
Usage
usage: memsql-ops spark-component-start [--settings-file SETTINGS_FILE]
[--async] [--no-prompt] [--all]
[--port PORT]
[spark_component_id]
Start one or all Spark components in the cluster.
positional arguments:
spark_component_id The ID of the Spark component to start.
optional arguments:
--settings-file SETTINGS_FILE
A path to a MemSQL Ops settings.conf file. If not set,
we will use the file in the same directory as the
MemSQL Ops binary.
--async If this option is true, we will exit without waiting
for the Spark components to be fully started.
--no-prompt Skip interactive prompts if ID is not provided. This
should be used for non-interactive scripts and
automation.
--all Start all Spark components in the cluster.
--port PORT The port to use for this Spark component. If --all is
specified, we will use this port for the Spark master
and all workers, but we will increment it by one for
the worker if there is both a master and a worker on
the same machine. Note that this will not affect the
Spark Interface if --all is specified.