[ 
https://issues.apache.org/jira/browse/SPARK-9885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cheng Lian resolved SPARK-9885.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0

Issue resolved by pull request 8158
[https://github.com/apache/spark/pull/8158]

> 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
>             Fix For: 1.5.0
>
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to