Skip to content

Jupyter uses unpinned, deprecated jupyter/pyspark-notebook:latest #36

Description

@klagrida

Problem

Jupyter pulls jupyter/pyspark-notebook:latest in two places:

  • terraform/main.tf:103 (deployed image)
  • docker/jupyter/Dockerfile:1 (FROM)

Two issues with this tag:

  1. Unpinned (:latest) — non-reproducible; the image can change underneath the platform without notice, and won't match the pinned pyspark==4.0.1 in docker/jupyter/requirements.txt.
  2. Deprecated namespace — the Docker Hub jupyter/* images are no longer maintained; the project moved to quay.io/jupyter/*. The Docker Hub images will eventually stop receiving updates / may break.

Suggested fix

  • Repin to a specific, current tag under the maintained registry, e.g. quay.io/jupyter/pyspark-notebook:<pinned-digest-or-tag>, in both the Dockerfile FROM and terraform/main.tf.
  • Choose a tag whose bundled PySpark matches the deployed Spark 4.0.1 cluster (the current image bundles a different Spark version than the cluster, which is its own latent mismatch).

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions