You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/04/22 13:37:59 UTC

[jira] [Commented] (SPARK-7055) getContextOrSparkClassLoader is not used while loading JDBC driver class

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

Apache Spark commented on SPARK-7055:
-------------------------------------

User 'vinodkc' has created a pull request for this issue:
https://github.com/apache/spark/pull/5633

> getContextOrSparkClassLoader is not used while loading JDBC driver class
> ------------------------------------------------------------------------
>
>                 Key: SPARK-7055
>                 URL: https://issues.apache.org/jira/browse/SPARK-7055
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Vinod KC
>
> In JDBCRDD.scala, getConnector method uses Class.forName to load JDBC driver class .Instead it should use getContextOrSparkClassLoader.loadClass method
> There was a resolved JIRA : SPARK-6966 , which handled same issue only in 'JDBCRelation.scala'



--
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