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: [email protected]
For additional commands, e-mail: [email protected]