Apache Spark cluster

Big data clusterspark-cluster

Distributed Spark cluster of driver and executors for batch, SQL and streaming jobs.

Provider
default
Category
Compute
Properties · 4 set by this component
propertytypevaluesrequiredkind defaultthis component
authentication · component propertyboolean—nofalseinherited
autoscalingboolean—nofalse▸ false
clusterManager · component propertyenumstandalone | yarn | kubernetesno—inherited
deployMode · component propertyenumclient | clusternoclientinherited
engineenumspark | hadoop | presto | flink | hpc | ray | dask | kubernetes-batchno—▸ spark
ioEncryption · component propertyboolean—nofalseinherited
managedboolean—nofalse▸ false
runtimeVersionstring—no—inherited
spotInstancesboolean—nofalse▸ false
sslEnabled · component propertyboolean—nofalseinherited
workerNodesinteger—no—inherited
zoneRedundantboolean—no—inherited
Rules that apply · 1

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

stateful-node-without-zone-redundancy

A stateful compute node pinned to exactly one availability zone disappears with that zone, and its state goes with it. Nodes inside a cell are exempt, because there the cell is deliberately single-zone and redundancy comes from the other cells.

  • — all of these hold:
  • — the node's `stateless` is false
  • — the node sits inside exactly 1 availability-zone group
  • — this does not hold:
  • — the node sits inside at least one cell group
Use it in a design
nodes:
  - { id: "spark-cluster", component: "spark-cluster" }
Other Big data cluster products · 25
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Apache Spark cluster: driver plus executors on standalone, YARN or Kubernetes.
# Defaults from "Cluster Mode Overview", "Configuration" and "Security": deploy mode client,
# dynamic allocation off, spark.authenticate and spark.ssl.enabled false.
schemaVersion: "1"
type: "component"
id: "spark-cluster"
kind: "big-data-cluster"
provider: "default"
docs: "https://spark.apache.org/docs/latest/cluster-overview.html"
defaults:
  engine: "spark"
  autoscaling: false
  spotInstances: false
  managed: false
properties:
  clusterManager:
    type: "enum"
    values: ["standalone", "yarn", "kubernetes"]
  deployMode:
    type: "enum"
    values: ["client", "cluster"]
    default: "client"
  authentication:
    type: "boolean"
    default: false
  sslEnabled:
    type: "boolean"
    default: false
  ioEncryption:
    type: "boolean"
    default: false

The same page as markdown, for an agent: /catalogue/components/spark-cluster.md