![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||
Solution Type Technical Instruction Sure Solution 2384776.1 : How to Setup the PYSPARK_PYTHON Environment Variable to Make Use of a Specific (non-default) Version of Python on the BDA
In this Document
Created from <SR 3-17252505841> Applies to:Big Data Appliance X6-2 Hardware - Version All Versions to All Versions [Release All Releases]x86_64 GoalThe BDA ships with an OS version which comes with a specific version of Python. This note details how to use the PYSPARK_PYTHON environment variable to use a specific (non-default) version of Python. SolutionTwo ways of setting the PYSPARK_PYTHON environment variable are:
# export PYSPARK_PYTHON=/path/to/python
2. To retain the PYSPARK_PYTHON definition between sessions for consistent use add the following to: /etc/spark/conf/spark-env.sh and/or /opt/cloudera/parcels/CDH/lib/spark/conf/spark-env.sh (if using parcels): export PYSPARK_PYTHON=/path/to/python
Attachments This solution has no attachment |
||||||||||||||
|