Github user andrewor14 commented on a diff in the pull request:
https://github.com/apache/spark/pull/2145#discussion_r16741070
--- Diff: sbin/mesos-pyenv.sh ---
@@ -17,10 +17,10 @@
# limitations under the License.
#
+#
+# This script is only used for fine grained Mesos executors
+
FWDIR="$(cd `dirname $0`/..; pwd)"
export PYTHONPATH=$FWDIR/python:$PYTHONPATH
export PYTHONPATH=$FWDIR/python/lib/py4j-0.8.2.1-src.zip:$PYTHONPATH
-
-echo "Running spark-executor with framework dir = $FWDIR"
-exec $FWDIR/bin/spark-class org.apache.spark.executor.MesosExecutorBackend
--- End diff --
It seems that we don't even need this file if we're doing this. We can just
export the `PYTHONPATH` inside the mesos backend classes themselves.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]