diff options
author | shane-huang <shengsheng.huang@intel.com> | 2013-09-23 16:13:46 +0800 |
---|---|---|
committer | shane-huang <shengsheng.huang@intel.com> | 2013-09-23 16:13:46 +0800 |
commit | 1d53792a0a48695824c29274be84b74d8d6a2e6a (patch) | |
tree | b4949d671593b2b37b839fcb96bbb0e5c997d0ea /bin/spark-shell | |
parent | 1d1a6258008fa6d0e3aeeee35169315e441ec2c5 (diff) | |
download | spark-1d53792a0a48695824c29274be84b74d8d6a2e6a.tar.gz spark-1d53792a0a48695824c29274be84b74d8d6a2e6a.tar.bz2 spark-1d53792a0a48695824c29274be84b74d8d6a2e6a.zip |
add scripts in bin
Signed-off-by: shane-huang <shengsheng.huang@intel.com>
Diffstat (limited to 'bin/spark-shell')
-rwxr-xr-x | bin/spark-shell | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/spark-shell b/bin/spark-shell index 9608bd3f30..6717fe7049 100755 --- a/bin/spark-shell +++ b/bin/spark-shell @@ -28,7 +28,7 @@ # Enter posix mode for bash set -o posix -FWDIR="`dirname $0`" +FWDIR="$(cd `dirname $0`/..; pwd)" for o in "$@"; do if [ "$1" = "-c" -o "$1" = "--cores" ]; then @@ -79,7 +79,7 @@ if [[ ! $? ]]; then saved_stty="" fi -$FWDIR/spark-class $OPTIONS org.apache.spark.repl.Main "$@" +$FWDIR/sbin/spark-class $OPTIONS org.apache.spark.repl.Main "$@" # record the exit status lest it be overwritten: # then reenable echo and propagate the code. |