Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

How Install and set anaconda instead of built-in python at HDP2.5 sandbox for Spark MLlib?

avatar
Visitor

I now use the sandbox at Windows 10 VirtualBox.

1 ACCEPTED SOLUTION

avatar
Master Guru

You can install anaconda but will need to set the correct path during job execution

PYSPARK_PYTHON=/opt/anaconda/bin/python spark-submit spark-job.py

View solution in original post

3 REPLIES 3

avatar
Master Guru

You can install anaconda but will need to set the correct path during job execution

PYSPARK_PYTHON=/opt/anaconda/bin/python spark-submit spark-job.py

avatar
Visitor

thanks for replies.

could I do it like followings? export PYSPARK_PYTHON=/opt/anaconda/bin/python spark-submit spark-job.py

avatar
Super Collaborator

Need to set new Python location via env variable PYSPARK_PYTHON