Outdated Version

You are viewing an older version of this section. View current production version.

SPARK-COMPONENT-STOP

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.

Stop one or all Spark components in the cluster.

Usage

usage: memsql-ops spark-component-stop [--settings-file SETTINGS_FILE]
                                       [--async] [--no-prompt] [--all]
                                       [--hard-stop] [--disable]
                                       [spark_component_id]

Stop one or all Spark components in the cluster.

positional arguments:
  spark_component_id    The ID of the Spark component to stop.

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 stopped.
  --no-prompt           Skip interactive prompts if ID is not provided. This
                        should be used for non-interactive scripts and
                        automation.
  --all                 Stop all Spark components in the cluster.
  --hard-stop           If true, we will kill Spark instead of stopping it.
  --disable             If true, we will disable this component so that future
                        invocations of spark-component-start --all will not
                        start this component.