diff options
author | carlmartin <carlmartinmax@gmail.com> | 2014-11-30 16:19:41 -0800 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-11-30 16:19:41 -0800 |
commit | aea7a99761b00b514df2b58ca836ba0de6742a3d (patch) | |
tree | 2c7323cdcc66fd4dc3878b48d80437c30311b693 /bin/spark-sql | |
parent | 048ecca625bd812397c9fd41886c474abfc3c4ae (diff) | |
download | spark-aea7a99761b00b514df2b58ca836ba0de6742a3d.tar.gz spark-aea7a99761b00b514df2b58ca836ba0de6742a3d.tar.bz2 spark-aea7a99761b00b514df2b58ca836ba0de6742a3d.zip |
[SPARK-4623]Add the some error infomation if using spark-sql in yarn-cluster mode
If using spark-sql in yarn-cluster mode, print an error infomation just as the spark shell in yarn-cluster mode.
Author: carlmartin <carlmartinmax@gmail.com>
Author: huangzhaowei <carlmartinmax@gmail.com>
Closes #3479 from SaintBacchus/sparkSqlShell and squashes the following commits:
35829a9 [carlmartin] improve the description of comment
e6c1eb7 [carlmartin] add a comment in bin/spark-sql to remind user who wants to change the class
f1c5c8d [carlmartin] Merge branch 'master' into sparkSqlShell
8e112c5 [huangzhaowei] singular form
ec957bc [carlmartin] Add the some error infomation if using spark-sql in yarn-cluster mode
7bcecc2 [carlmartin] Merge branch 'master' of https://github.com/apache/spark into codereview
4fad75a [carlmartin] Add the Error infomation using spark-sql in yarn-cluster mode
Diffstat (limited to 'bin/spark-sql')
-rwxr-xr-x | bin/spark-sql | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/spark-sql b/bin/spark-sql index 63d00437d5..3b6cc420fe 100755 --- a/bin/spark-sql +++ b/bin/spark-sql @@ -23,6 +23,8 @@ # Enter posix mode for bash set -o posix +# NOTE: This exact class name is matched downstream by SparkSubmit. +# Any changes need to be reflected there. CLASS="org.apache.spark.sql.hive.thriftserver.SparkSQLCLIDriver" # Figure out where Spark is installed |