Uh oh!
There was an error while loading. Please reload this page.
ZEPPELIN-270 added env varibles for pyspark's correct function in yarn. - #264
ZEPPELIN-270 added env varibles for pyspark's correct function in yarn.#264riverajo wants to merge 1 commit into
Conversation
felixcheung
commented
Aug 28, 2015
It should build this automatically when SPARK_HOME is defined right? |
Leemoonsoo
commented
Aug 29, 2015
I think PYTHONPATH supposed to build automatically when SPARK_HOME is defined by bin/interpreter.sh. But SPARK_YARN_USER_ENV is not taken care of. |
felixcheung
commented
Aug 29, 2015
Hmm, should we use SparkConf instead then: I believe all spark.* in the interpreter settings are passed to SparkConf. Is this a bug: Shouldn't it say |
riverajo
commented
Aug 31, 2015
That seems right, I didn't need to set PYTHONPATH if SPARK_HOME is set correctly, but I do still need SPARK_YARN_USER_ENV. However it seems as thought the PYTHONPATH gets created after the zeppelin-env.sh gets run, If I don't set both PYTHONPATH and SPARK_YARN_USER_ENV in that file, It complains that SPARK_YARN_USER_ENV is empty with an array out of bounds exception. |
Leemoonsoo
commented
Aug 31, 2015
I think it's not a bug. Designed to not pass empty value when the key starts with "spark." |
Leemoonsoo
commented
Aug 31, 2015
How about put the same comment How about take care zeppelin-env.sh.template, too? |
felixcheung
commented
Aug 31, 2015
@Leemoonsoo good idea. |
corneadoug
commented
Sep 27, 2016
@riverajo@felixcheung@Leemoonsoo |
felixcheung
commented
Sep 27, 2016
I'm not sure if we do but the py4j version changes for the last few Spark releases, so if we do, we would need a way to set the right version as per spark version |
close#83close#86close#125close#133close#139close#146close#193close#203close#246close#262close#264close#273close#291close#299close#320close#347close#389close#413close#423close#543close#560close#658close#670close#728close#765close#777close#782close#783close#812close#822close#841close#843close#878close#884close#918close#989close#1076close#1135close#1187close#1231close#1304close#1316close#1361close#1385close#1390close#1414close#1422close#1425close#1447close#1458close#1466close#1485close#1492close#1495close#1497close#1536close#1545close#1561close#1577close#1600close#1603close#1678close#1695close#1739close#1748close#1765close#1767close#1776close#1783close#1799
Simple doc fix for pyspark in yarn.