diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/spark-submit | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/spark-submit b/bin/spark-submit index c557311b4b..f92d90c3a6 100755 --- a/bin/spark-submit +++ b/bin/spark-submit @@ -22,6 +22,9 @@ export SPARK_HOME="$(cd "`dirname "$0"`"/..; pwd)" ORIG_ARGS=("$@") +# Set COLUMNS for progress bar +export COLUMNS=`tput cols` + while (($#)); do if [ "$1" = "--deploy-mode" ]; then SPARK_SUBMIT_DEPLOY_MODE=$2 |