HUB
Sign inSign up
pyspark-runtime logo

ruslanmv/pyspark-runtime

By ruslanmv

•Updated about 5 years ago

Python runtime container image for Elyra with Pyspark

Image
0

240

ruslanmv/pyspark-runtime repository overview

⁠Runtime Image for Elyra

A runtime image configuration identifies a container image that Elyra can utilize to run pipeline nodes on container-based platforms, such as Kubeflow Pipelines or Apache Airflow.

⁠Prerequisites

A runtime image configuration is associated with a container image that must meet these prerequisites:

  • The image is stored in a container registry in a public or private network that the container platform in which the pipeline is executed can connect to. Examples of such registries are hub.docker.com⁠ or a self-managed registry in an intranet environment.
  • The image must have a current Python 3 version pre-installed and python3 in the search path.
  • The image must have curl pre-installed and in the search path.

A runtime image provides the execution environment in which nodes are executed when a Jupyter notebook is processed as part of a pipeline. Elyra includes a number of runtime images for popular configurations, such as TensorFlow or Pytorch.

Should none of these images meet your needs, you can utilize a custom container image, as long as it meets the following pre-requisites:

  • The image is stored in a container registry in a public or private network that the container platform in which the pipeline is executed can connect to. Examples of such registries are hub.docker.com⁠ or a self-managed registry in an intranet environment.
  • The image can be pulled from the registry without the need to authenticate.
  • Python 3⁠ is pre-installed and in the search path. Python versions that have reached their “end of life” are not supported.
  • curl⁠ is pre-installed and in the search path.
⁠Custom Elyra runtime container images

This repository has containers ready to use:

Container 1 : Pyspark 3.1.2 with Apache Hadoop 3.2:

docker run  ruslanmv/pyspark-runtime:3.1.2

Container 2 : Pyspark 3.0.2 with Apache Hadoop 2.7:

docker run  ruslanmv/pyspark-runtime:3.0.2

the images are stored at the Docker Hub here⁠

This is needed to execute Airflow as a runtime

https://elyra.readthedocs.io/en/v2.1.0/recipes/configure-airflow-as-a-runtime.html⁠

Packages installed

ibm-watson-machine-learning

pyspark2pmml

More information visit ruslanmv.com⁠

Tag summary
Recent tags
Content type
Image
Digest
Size
647.4 MB
Last updated
about 5 years ago
docker pull ruslanmv/pyspark-runtime:3.0.2