You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2018/10/31 09:19:00 UTC
[jira] [Created] (SPARK-25893) Show a directional error message for
unsupported Hive Metastore versions
Dongjoon Hyun created SPARK-25893:
-------------------------------------
Summary: Show a directional error message for unsupported Hive Metastore versions
Key: SPARK-25893
URL: https://issues.apache.org/jira/browse/SPARK-25893
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 3.0.0
Reporter: Dongjoon Hyun
When `spark.sql.hive.metastore.version` is misconfigured, we had better give a directional error message.
*BEFORE*
{code}
scala> sql("show databases").show
scala.MatchError: 2.4 (of class java.lang.String)
{code}
*AFTER*
{code}
scala> sql("show databases").show
java.lang.UnsupportedOperationException: Unsupported Hive Metastore version (2.4). Please set spark.sql.hive.metastore.version with a valid version.
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org