Skip to content

Commit

Permalink
Revert a few more changes
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewor14 committed Aug 19, 2014
1 parent a396eda commit c37e08d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
1 change: 0 additions & 1 deletion .rat-excludes
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ sorttable.js
.*json
.*data
.*log
.*conf
cloudpickle.py
join.py
SparkExprTyper.scala
Expand Down
3 changes: 1 addition & 2 deletions bin/pyspark
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ FWDIR="$(cd `dirname $0`/..; pwd)"
# Export this as SPARK_HOME
export SPARK_HOME="$FWDIR"

# Load utility functions
. "$FWDIR/bin/utils.sh"
source $FWDIR/bin/utils.sh

SCALA_VERSION=2.10

Expand Down
3 changes: 1 addition & 2 deletions bin/spark-shell
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ if [[ "$@" = *--help ]] || [[ "$@" = *-h ]]; then
usage
fi

# Load utility functions
. "$FWDIR/bin/utils.sh"
source $FWDIR/bin/utils.sh

SUBMIT_USAGE_FUNCTION=usage
gatherSparkSubmitOpts "$@"
Expand Down
6 changes: 3 additions & 3 deletions bin/spark-submit
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ DEFAULT_PROPERTIES_FILE="$SPARK_HOME/conf/spark-defaults.conf"
PROPERTIES_FILE=${PROPERTIES_FILE:-"$DEFAULT_PROPERTIES_FILE"}

# For client mode, the driver will be launched in the same JVM that launches
# SparkSubmit, so we to read the properties file for any class paths, library
# paths, java options and memory early on. Otherwise, it will be too late by
# the time the JVM has started.
# SparkSubmit, so we need to read the properties file for any extra class paths,
# library paths, java options and memory early on. Otherwise, it will be too
# late by the time the JVM has started.

if [ "$DEPLOY_MODE" == "client" ]; then
if [ -n "$DRIVER_MEMORY" ]; then
Expand Down

0 comments on commit c37e08d

Please sign in to comment.