aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorWangTaoTheTonic <barneystinson@aliyun.com>2014-09-18 10:17:18 -0700
committerPatrick Wendell <pwendell@gmail.com>2014-09-18 10:17:18 -0700
commit3447d100900af15a7340a2f6a5430ffb6d9c6c23 (patch)
treee4d28239f532e16dcfbe67b3ab16d13373ba0c38 /bin
parent6772afec2f57360bd886ba3c8487e6140869d8f0 (diff)
downloadspark-3447d100900af15a7340a2f6a5430ffb6d9c6c23.tar.gz
spark-3447d100900af15a7340a2f6a5430ffb6d9c6c23.tar.bz2
spark-3447d100900af15a7340a2f6a5430ffb6d9c6c23.zip
[SPARK-3547]Using a special exit code instead of 1 to represent ClassNotFoundExcepti...
...on As improvement of https://github.com/apache/spark/pull/1944, we should use more special exit code to represent ClassNotFoundException. Author: WangTaoTheTonic <barneystinson@aliyun.com> Closes #2421 from WangTaoTheTonic/classnotfoundExitCode and squashes the following commits: 645a22a [WangTaoTheTonic] Serveral typos to trigger Jenkins d6ae559 [WangTaoTheTonic] use 101 instead a2d6465 [WangTaoTheTonic] use 127 instead fbb232f [WangTaoTheTonic] Using a special exit code instead of 1 to represent ClassNotFoundException
Diffstat (limited to 'bin')
-rwxr-xr-xbin/spark-sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/spark-sql b/bin/spark-sql
index ae096530ca..9d66140b6a 100755
--- a/bin/spark-sql
+++ b/bin/spark-sql
@@ -24,7 +24,7 @@
set -o posix
CLASS="org.apache.spark.sql.hive.thriftserver.SparkSQLCLIDriver"
-CLASS_NOT_FOUND_EXIT_STATUS=1
+CLASS_NOT_FOUND_EXIT_STATUS=101
# Figure out where Spark is installed
FWDIR="$(cd "`dirname "$0"`"/..; pwd)"