You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/10/31 09:25:00 UTC
[jira] [Commented] (SPARK-25893) Show a directional error message
for unsupported Hive Metastore versions
[ https://issues.apache.org/jira/browse/SPARK-25893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16669811#comment-16669811 ]
Apache Spark commented on SPARK-25893:
--------------------------------------
User 'dongjoon-hyun' has created a pull request for this issue:
https://github.com/apache/spark/pull/22902
> 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
> Priority: Minor
>
> 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