Skip to content

Commit

Permalink
Redirect stdout to stderr for python
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewor14 committed Aug 6, 2014
1 parent 130f295 commit 4edcaa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/spark-submit
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ if [ $DEPLOY_MODE == "client" ]; then
# a key value pair delimited either by white space or "=" sign. All
# spark.driver.* configs must be processed now before it's too late.
if [ -f "$PROPERTIES_FILE" ]; then
echo "Using properties file $PROPERTIES_FILE"
echo "Using properties file $PROPERTIES_FILE" 1>&2
DRIVER_MEMORY_CONF="spark.driver.memory"
DRIVER_EXTRA_JAVA_OPTS="spark.driver.extraJavaOptions"
DRIVER_EXTRA_CLASSPATH="spark.driver.extraClassPath"
Expand All @@ -68,7 +68,7 @@ if [ $DEPLOY_MODE == "client" ]; then
export SPARK_SUBMIT_CLASSPATH="$SPARK_SUBMIT_CLASSPATH:$DRIVER_EXTRA_CLASSPATH"
export SPARK_SUBMIT_LIBRARY_PATH="$SPARK_SUBMIT_LIBRARY_PATH:$DRIVER_EXTRA_LIBRARY_PATH"
else
echo "Warning: properties file $PROPERTIES_FILE does not exist."
echo "Warning: properties file $PROPERTIES_FILE does not exist." 1>&2
fi

# Favor command line memory over config memory
Expand Down

0 comments on commit 4edcaa8

Please sign in to comment.