Skip to content

Commit

Permalink
Revert a few changes in utils.sh (minor)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewor14 committed Aug 19, 2014
1 parent 9ba37e2 commit a78cb26
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions bin/utils.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash

#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
Expand All @@ -16,12 +17,9 @@
# limitations under the License.
#

# * ---------------------------------------------------- *
# | Utility functions for launching Spark applications |
# * ---------------------------------------------------- *

# Gather all all spark-submit options into SUBMISSION_OPTS
function gatherSparkSubmitOpts() {

if [ -z "$SUBMIT_USAGE_FUNCTION" ]; then
echo "Function for printing usage of $0 is not set." 1>&2
echo "Please set usage function to shell variable 'SUBMIT_USAGE_FUNCTION' in $0" 1>&2
Expand Down Expand Up @@ -59,4 +57,3 @@ function gatherSparkSubmitOpts() {
export SUBMISSION_OPTS
export APPLICATION_OPTS
}

0 comments on commit a78cb26

Please sign in to comment.