Skip to content

Commit a78cb26

Browse files
committed
Revert a few changes in utils.sh (minor)
1 parent 9ba37e2 commit a78cb26

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

bin/utils.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env bash
2+
23
#
34
# Licensed to the Apache Software Foundation (ASF) under one or more
45
# contributor license agreements. See the NOTICE file distributed with
@@ -16,12 +17,9 @@
1617
# limitations under the License.
1718
#
1819

19-
# * ---------------------------------------------------- *
20-
# | Utility functions for launching Spark applications |
21-
# * ---------------------------------------------------- *
22-
2320
# Gather all all spark-submit options into SUBMISSION_OPTS
2421
function gatherSparkSubmitOpts() {
22+
2523
if [ -z "$SUBMIT_USAGE_FUNCTION" ]; then
2624
echo "Function for printing usage of $0 is not set." 1>&2
2725
echo "Please set usage function to shell variable 'SUBMIT_USAGE_FUNCTION' in $0" 1>&2
@@ -59,4 +57,3 @@ function gatherSparkSubmitOpts() {
5957
export SUBMISSION_OPTS
6058
export APPLICATION_OPTS
6159
}
62-

0 commit comments

Comments
 (0)