netezza - PySpark: java.sql.SQLException: No suitable driver -


i have spark code connects netezza , reads table.

conf = sparkconf().setappname("app").setmaster("yarn-client") sc = sparkcontext(conf=conf) hc = hivecontext(sc)  nz_df=hc.load(source="jdbc",url=address dbname";username=;password=",dbtable="") 

i spark-submit , run code in following way.. spark-submit -jars nzjdbc.jar filename.py

and following exception:

py4j.protocol.py4jjavaerror: error occurred while calling o55.load. : java.sql.sqlexception: no suitable driver 

am doing wrong on here?? jar not suitable or not able recgonize jar?? please let me know correct way if not , can provide link jar connecting netezza spark.

i using 1.6.0 version of spark.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -