diff options
author | shane-huang <shengsheng.huang@intel.com> | 2013-09-23 11:28:58 +0800 |
---|---|---|
committer | shane-huang <shengsheng.huang@intel.com> | 2013-09-23 11:28:58 +0800 |
commit | dfbdc9ddb773e2b1149e6a6c661f14b631b692d0 (patch) | |
tree | 0e53db325cc8b7985a197d9b13d7adf9208e5c0f /sbin/spark-executor | |
parent | 834686b108ce31cbee531d89de6c6e80913448f4 (diff) | |
download | spark-dfbdc9ddb773e2b1149e6a6c661f14b631b692d0.tar.gz spark-dfbdc9ddb773e2b1149e6a6c661f14b631b692d0.tar.bz2 spark-dfbdc9ddb773e2b1149e6a6c661f14b631b692d0.zip |
added spark-class and spark-executor to sbin
Signed-off-by: shane-huang <shengsheng.huang@intel.com>
Diffstat (limited to 'sbin/spark-executor')
-rwxr-xr-x | sbin/spark-executor | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sbin/spark-executor b/sbin/spark-executor new file mode 100755 index 0000000000..2c07c54843 --- /dev/null +++ b/sbin/spark-executor @@ -0,0 +1,22 @@ +#!/bin/sh + +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +FWDIR="`dirname $0`" +echo "Running spark-executor with framework dir = $FWDIR" +exec $FWDIR/spark-class org.apache.spark.executor.MesosExecutorBackend |