Skip to content

Commit 13f48a0

Browse files
committed
[SPARK-2109] Setting SPARK_MEM for bin/pyspark does not work.
1 parent 9cb64b2 commit 13f48a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/spark-class

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ if [ -z "$1" ]; then
3838
fi
3939

4040
if [ -n "$SPARK_MEM" ]; then
41-
echo "Warning: SPARK_MEM is deprecated, please use a more specific config option"
42-
echo "(e.g., spark.executor.memory or SPARK_DRIVER_MEMORY)."
41+
echo -e "Warning: SPARK_MEM is deprecated, please use a more specific config option" 1>&2
42+
echo -e "(e.g., spark.executor.memory or SPARK_DRIVER_MEMORY)." 1>&2
4343
fi
4444

4545
# Use SPARK_MEM or 512m as the default memory, to be overridden by specific options

0 commit comments

Comments
 (0)