Skip to main content
ddharam
Gold ⭐️
Gold ⭐️
Jan 1, 2017 3:17 AM UTC

How to get Spark Interpreter working with custom python configuration

  • Oct 5, 2026 9:22 AM UTC
  • 2 replies
  • 3185 views
  • Translate All

Change the livy.spark.master to yarn cluster and add the following environment variable in the zeppelin-env from ambari

export PYSPARK_DRIVER_PYTHON=path_to_python2.7
export PYSPARK_PYTHON=path_to_python2.7

After this restart livy spark interpreter started to work.

2 replies

bikas
Gold ⭐️
Jan 4, 2017 6:01 AM UTC

Why are we changing it in the Zeppelin env? Can this be changed in the Spark interpreter configs? /cc @prabhjyot singh

Translate
hosako
Gold ⭐️
Jun 5, 2017 3:30 PM UTC

Does this work with Zeppelin 0.7.0?

Translate