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.
Rather than flow PATH via the inherited_envs configurable (as suggested here), this change updates the start script of the enterprise-gateway-demo image to add the value of env PYSPARK_PYTHON via inherited_envs since that's the minimal value necessary to get the TestRKernelClient test passing. It also serves as an example of how to propagate a value from the EG process to kernels.
I suspect the change to not unconditionally inherit the value of env
PATH
has side-affected the CI testtest_r_kernel.py::TestRKernelClient
because it can no longer find thepython
command (based on troubleshooting the issue).Rather than flow
PATH
via theinherited_envs
configurable (as suggested here), this change updates the start script of theenterprise-gateway-demo
image to add the value of envPYSPARK_PYTHON
viainherited_envs
since that's the minimal value necessary to get theTestRKernelClient
test passing. It also serves as an example of how to propagate a value from the EG process to kernels.