ASFIK sc.addJar() will add the jars to executor's classpath . The datasource resolution ( createRelation) happens at driver side and driver classpath should contain the ojdbc6.jar. You can use "spark.driver.extraClassPath" config parameter to set the same.
On Wed, Feb 10, 2016 at 3:08 PM, Jorge Machado <jom...@me.com> wrote: > Hi Divya, > > You need to install the Oracle jdbc driver on the cluster into lib folder. > > On 10/02/2016, at 09:37, Divya Gehlot <divya.htco...@gmail.com> wrote: > > oracle.jdbc.driver.OracleDrive > > > -- Regards, Rishitesh Mishra, SnappyData . (http://www.snappydata.io/) https://in.linkedin.com/in/rishiteshmishra