[ 
https://issues.apache.org/jira/browse/SPARK-10121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14707573#comment-14707573
 ] 

Apache Spark commented on SPARK-10121:
--------------------------------------

User 'yhuai' has created a pull request for this issue:
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
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to