Create a base Spark cluster environment
By default, Domino provides Spark compatible images, as listed in compute Environment catalog, that can be used for the components of the cluster. When using on-demand Spark in Domino, you need one environment for the Spark cluster (base or worker environment) and one environment for the workspace/job execution (compute environment).Create a new base Spark cluster environment
- Follow the instructions to create an environment.
-
In the Base Image section, select Custom Image and specify an image URI that points to a deployable Spark image.
Domino recommends that you use a Domino-provided Spark image from compute Environment catalog for versions of Spark and Python.
Image compatibility:Domino currently republishes the Spark base images from
bitnami/spark.Domino’s on-demand Spark functionality has been developed and tested using open-source Spark images from Bitnami. - Required: In the Supported Clusters area, select the Domino managed Spark checkbox. This ensures that the environment is available for use when you create Spark clusters from workspaces and jobs.
- Set the Visibility. You can set this attribute the same way you would for any other compute environment.
- Leave the Dockerfile Instructions blank to use the Hadoop client libraries included with the image or follow the instructions to configure custom Hadoop client libraries. Domino-provided images are installed with all pre-requisites. See Manage dependencies to learn more.
- Leave Pluggable Notebooks / Workspace Sessions blank as the Spark base environments are not intended to also include notebook configuration.