This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
The following commit(s) were added to refs/heads/develop by this push:
new 7ea10f0 [DATALAB-1866]: Added virtual environment's python location
to PATH
new fe00de8 Merge pull request #1293 from owlleg6/develop
7ea10f0 is described below
commit 7ea10f0bcc1c5d9bd9d61c618701e6691f27ac73
Author: oleh_mykolaishyn <[email protected]>
AuthorDate: Wed Oct 6 17:11:51 2021 +0300
[DATALAB-1866]: Added virtual environment's python location to PATH
---
.../src/general/templates/os/py3spark_local_template.json | 1 +
1 file changed, 1 insertion(+)
diff --git
a/infrastructure-provisioning/src/general/templates/os/py3spark_local_template.json
b/infrastructure-provisioning/src/general/templates/os/py3spark_local_template.json
index 1771efe..af9a53d 100644
---
a/infrastructure-provisioning/src/general/templates/os/py3spark_local_template.json
+++
b/infrastructure-provisioning/src/general/templates/os/py3spark_local_template.json
@@ -9,6 +9,7 @@
"language": "python",
"display_name": "Local PySpark (Python-PYTHON_VENV_VERSION / Spark-SP_VER )",
"env": {
+ "PATH": "${PATH}:/opt/python/pythonPYTHON_VENV_VERSION/bin/:",
"PYSPARK_PYTHON": "pythonPYTHON_VENV_SHORT_VERSION",
"SPARK_HOME": "/opt/spark/",
"PYTHONPATH": "PY4J:/opt/spark/python/:PYTHON_VENV_PATH:",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]