Skip to content

Commit c37e08d

Browse files
committed
Revert a few more changes
1 parent a396eda commit c37e08d

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

.rat-excludes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ sorttable.js
3030
.*json
3131
.*data
3232
.*log
33-
.*conf
3433
cloudpickle.py
3534
join.py
3635
SparkExprTyper.scala

bin/pyspark

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ FWDIR="$(cd `dirname $0`/..; pwd)"
2323
# Export this as SPARK_HOME
2424
export SPARK_HOME="$FWDIR"
2525

26-
# Load utility functions
27-
. "$FWDIR/bin/utils.sh"
26+
source $FWDIR/bin/utils.sh
2827

2928
SCALA_VERSION=2.10
3029

bin/spark-shell

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ if [[ "$@" = *--help ]] || [[ "$@" = *-h ]]; then
4141
usage
4242
fi
4343

44-
# Load utility functions
45-
. "$FWDIR/bin/utils.sh"
44+
source $FWDIR/bin/utils.sh
4645

4746
SUBMIT_USAGE_FUNCTION=usage
4847
gatherSparkSubmitOpts "$@"

bin/spark-submit

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ DEFAULT_PROPERTIES_FILE="$SPARK_HOME/conf/spark-defaults.conf"
4242
PROPERTIES_FILE=${PROPERTIES_FILE:-"$DEFAULT_PROPERTIES_FILE"}
4343

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

4949
if [ "$DEPLOY_MODE" == "client" ]; then
5050
if [ -n "$DRIVER_MEMORY" ]; then

0 commit comments

Comments
 (0)