diff options
author | Tom Panning <tom.panning@nextcentury.com> | 2015-02-01 17:57:31 -0800 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2015-02-01 17:57:31 -0800 |
commit | 1ca0a1014e3782dd0045d6e403992ac5114486ad (patch) | |
tree | 361048b7837f72a04b6131bb986b4a8c90826ea8 /sbin/start-thriftserver.sh | |
parent | c80194b334a358bb28ea70580dc50aef47136212 (diff) | |
download | spark-1ca0a1014e3782dd0045d6e403992ac5114486ad.tar.gz spark-1ca0a1014e3782dd0045d6e403992ac5114486ad.tar.bz2 spark-1ca0a1014e3782dd0045d6e403992ac5114486ad.zip |
[SPARK-5176] The thrift server does not support cluster mode
Output an error message if the thrift server is started in cluster mode.
Author: Tom Panning <tom.panning@nextcentury.com>
Closes #4137 from tpanningnextcen/spark-5176-thrift-cluster-mode-error and squashes the following commits:
f5c0509 [Tom Panning] [SPARK-5176] The thrift server does not support cluster mode
Diffstat (limited to 'sbin/start-thriftserver.sh')
-rwxr-xr-x | sbin/start-thriftserver.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/start-thriftserver.sh b/sbin/start-thriftserver.sh index 50e8e06418..070cc7a87e 100755 --- a/sbin/start-thriftserver.sh +++ b/sbin/start-thriftserver.sh @@ -26,6 +26,8 @@ set -o posix # Figure out where Spark is installed FWDIR="$(cd "`dirname "$0"`"/..; pwd)" +# NOTE: This exact class name is matched downstream by SparkSubmit. +# Any changes need to be reflected there. CLASS="org.apache.spark.sql.hive.thriftserver.HiveThriftServer2" function usage { |