I have loaded the postgresql driver explicitly both in %dep as well as with
sc.addjars.

In my notebook:

Class.forName("org.postgresql.Driver") //this goes fine.
val dataFrame = sqlContext.load("jdbc", Map("url" -> connectorURL,
"dbtable" -> table)) //throws up the following error:

java.sql.SQLException: No suitable driver found for
jdbc:postgresql://<my_connection_string>.

The above code works outside of zeppelin.

Reply via email to