spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elliott cordo <>
Subject trouble with jdbc df in python
Date Wed, 25 Mar 2015 21:19:50 GMT
if i run the following:

db = sqlContext.load("jdbc", url="jdbc:postgresql://localhost/xx",

i get the error:

py4j.protocol.Py4JJavaError: An error occurred while calling o28.load.

: File file:/Users/elliottcordo/jdbc does
not exist

Seems to think i'm trying to load a file called jdbc?  i'm setting the
postgres driver in the SPARK_CLASSPATH as well (that doesn't seem to be the

View raw message