aboutsummaryrefslogtreecommitdiff
path: root/sbin
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 /sbin
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 'sbin')
-rwxr-xr-xsbin/start-thriftserver.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/start-thriftserver.sh b/sbin/start-thriftserver.sh
index 4ce40fe750..ba953e763f 100755
--- a/sbin/start-thriftserver.sh
+++ b/sbin/start-thriftserver.sh
@@ -27,7 +27,7 @@ set -o posix
FWDIR="$(cd "`dirname "$0"`"/..; pwd)"
CLASS="org.apache.spark.sql.hive.thriftserver.HiveThriftServer2"
-CLASS_NOT_FOUND_EXIT_STATUS=1
+CLASS_NOT_FOUND_EXIT_STATUS=101
function usage {
echo "Usage: ./sbin/start-thriftserver [options] [thrift server options]"