You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Cheng Lian (JIRA)" <ji...@apache.org> on 2015/08/25 06:52:45 UTC
[jira] [Resolved] (SPARK-10121) Custom Class added through Spark
SQL's add jar command may not be in the class loader used by metadataHive
[ https://issues.apache.org/jira/browse/SPARK-10121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cheng Lian resolved SPARK-10121.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.5.0
Issue resolved by pull request 8368
[https://github.com/apache/spark/pull/8368]
> Custom Class added through Spark SQL's add jar command may not be in the class loader used by metadataHive
> ----------------------------------------------------------------------------------------------------------
>
> Key: SPARK-10121
> URL: https://issues.apache.org/jira/browse/SPARK-10121
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 1.4.0
> Reporter: Yin Huai
> Priority: Critical
> Fix For: 1.5.0
>
>
> One symptom is that people connecting to Spark SQL through thrift server may see class not found exception when accessing their tables using custom serdes.
> I feel https://github.com/apache/spark/blob/master/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/commands.scala#L103 is not enough. We probably should set the class loader explicitly to metadataHive like what we do at https://github.com/apache/spark/blob/master/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/commands.scala#L101.
--
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