spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-9885) IsolatedClientLoader ignores shared prefixes and barrier prefixes when "spark.sql.hive.metastore.jars" is set to "maven"
Date Thu, 13 Aug 2015 04:03:46 GMT

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

Apache Spark reassigned SPARK-9885:
-----------------------------------

    Assignee: Yin Huai  (was: Apache Spark)

> 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


Mime
View raw message