A lightweight, multi-tenant, scalable and secure gateway that enables Jupyter Notebooks to share resources across distributed clusters such as Apache Spark, Kubernetes and others.
When attempting to use the Kubernetes Operator for Apache Spark, issues can arise if the operator is not installed prior to its use. This pull request addresses these issues in the following ways...
Exception handling logic has been added to launch_custom_resource.py to detect status 404 and, if encountered, replaces the raised exception with a system exit message that instructs the user where to find installation instructions. This message purposely injects surrounding newlines so that it stands out in the EG log.
ERROR: The Kubernetes Operator for Apache Spark does not appear to be installed. See 'https://github.com/GoogleCloudPlatform/spark-on-k8s-operator#installation' for instructions, then retry the operation.
The Note in the existing Contributor's Guide (in the System Architecture section) has been enhanced to include a link to the installation instructions.
The Operators Guide (in the Kubernetes deployments section) has added a reference to spark_python_operator as a Kubernetes-related specification and also includes a similar Note referencing installation instructions.
When attempting to use the Kubernetes Operator for Apache Spark, issues can arise if the operator is not installed prior to its use. This pull request addresses these issues in the following ways...
launch_custom_resource.py
to detect status404
and, if encountered, replaces the raised exception with a system exit message that instructs the user where to find installation instructions. This message purposely injects surrounding newlines so that it stands out in the EG log.spark_python_operator
as a Kubernetes-related specification and also includes a similar Note referencing installation instructions.Resolves: #1169