Skip to content

Commit

Permalink
[SPARK-2678] Follow-up commit for apache#1715 apache#1801, spark-shel…
Browse files Browse the repository at this point in the history
…l is broken
  • Loading branch information
chutium committed Aug 8, 2014
1 parent 9a54de1 commit efa8f52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/spark-shell
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ function main(){
# (see https://github.com/sbt/sbt/issues/562).
stty -icanon min 1 -echo > /dev/null 2>&1
export SPARK_SUBMIT_OPTS="$SPARK_SUBMIT_OPTS -Djline.terminal=unix"
$FWDIR/bin/spark-submit --class org.apache.spark.repl.Main spark-shell "$@"
$FWDIR/bin/spark-submit "$@" --class org.apache.spark.repl.Main spark-shell
stty icanon echo > /dev/null 2>&1
else
export SPARK_SUBMIT_OPTS
$FWDIR/bin/spark-submit --class org.apache.spark.repl.Main spark-shell "$@"
$FWDIR/bin/spark-submit "$@" --class org.apache.spark.repl.Main spark-shell
fi
}

Expand Down

0 comments on commit efa8f52

Please sign in to comment.