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

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

Vinod KC created SPARK-7055:
-------------------------------

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