aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsbin/spark-executor3
1 files changed, 3 insertions, 0 deletions
diff --git a/sbin/spark-executor b/sbin/spark-executor
index de5bfab563..336549f29c 100755
--- a/sbin/spark-executor
+++ b/sbin/spark-executor
@@ -19,5 +19,8 @@
FWDIR="$(cd `dirname $0`/..; pwd)"
+export PYTHONPATH=$FWDIR/python:$PYTHONPATH
+export PYTHONPATH=$FWDIR/python/lib/py4j-0.8.1-src.zip:$PYTHONPATH
+
echo "Running spark-executor with framework dir = $FWDIR"
exec $FWDIR/bin/spark-class org.apache.spark.executor.MesosExecutorBackend