aboutsummaryrefslogtreecommitdiff
path: root/sbin/spark-executor
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/spark-executor')
-rwxr-xr-xsbin/spark-executor5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/spark-executor b/sbin/spark-executor
index 2c07c54843..214e00f6f8 100755
--- a/sbin/spark-executor
+++ b/sbin/spark-executor
@@ -17,6 +17,7 @@
# limitations under the License.
#
-FWDIR="`dirname $0`"
+FWDIR="$(cd `dirname $0`/..; pwd)"
+
echo "Running spark-executor with framework dir = $FWDIR"
-exec $FWDIR/spark-class org.apache.spark.executor.MesosExecutorBackend
+exec $FWDIR/sbin/spark-class org.apache.spark.executor.MesosExecutorBackend