You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yin Huai (JIRA)" <ji...@apache.org> on 2015/08/13 05:58:45 UTC
[jira] [Assigned] (SPARK-9885) IsolatedClientLoader ignores shared
prefixes and barrier prefixes when "spark.sql.hive.metastore.jars" is set
to "maven"
[ https://issues.apache.org/jira/browse/SPARK-9885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yin Huai reassigned SPARK-9885:
-------------------------------
Assignee: Yin Huai
> IsolatedClientLoader ignores shared prefixes and barrier prefixes when "spark.sql.hive.metastore.jars" is set to "maven"
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-9885
> URL: https://issues.apache.org/jira/browse/SPARK-9885
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 1.4.1, 1.5.0
> Reporter: Cheng Lian
> Assignee: Yin Huai
> Priority: Critical
>
> I have a local Hive 0.13.1 metastore backed by MySQL. MySQL JDBC connector is put under {{$JAVA_HOME/jre/lib/ext}}. With the following {{spark-defaults.conf}}
> {noformat}
> spark.sql.hive.metastore.version 0.13.1
> spark.sql.hive.metastore.jars maven
> {noformat}
> Spark shell fails to create {{HiveContext}} because MySQL JDBC driver couldn't be properly loaded.
> This is probably because {{IsolatedClientLoader}} ignores shared prefixes and barrier prefixes when {{spark.sql.hive.metastore.jars}} is set to {{maven}}. See [this line|https://github.com/apache/spark/blob/v1.4.1/sql/hive/src/main/scala/org/apache/spark/sql/hive/client/IsolatedClientLoader.scala#L45].
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org