Outdated Version

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


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.

List Spark components in the cluster.


usage: memsql-ops spark-component-list [--settings-file SETTINGS_FILE] [-q]
                                       [-t {master,worker,interface} [{master,worker,interface} ...]]
                                       [--agent-id AGENT_ID | --local]

List Spark components in the cluster.

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.
  -q, --quiet           Only display Spark component IDs.
  -j, --json            Print output as JSON.
  -t {master,worker,interface} [{master,worker,interface} ...], --component-type {master,worker,interface} [{master,worker,interface} ...]
                        Only list Spark components with the specified
                        component type.
  --agent-id AGENT_ID   Only list Spark components that are collocated with the
                        specified agent.
  --local               Only list Spark components which are on the local
                        MemSQL Ops agent.