Below line of code is working in pyspark3 shell whereas it’s not working on spark-submit
From impala.dbapi import connect
Conn=connect(host= “host”, port=” 21050″, auth_mechanism=”GSSAPI”, use_ssl=True)
Error:
From impala.dbapi import connect
Modulenotfounderror: No module named ‘impala.dbapi’, impala is not a package
Error:
From impala.dbapi import connect
Modulenotfounderror: No module named ‘impala.dbapi’, impala is not a package
I want the connect to be imported successfully in spark job
Santhana Lakshmi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.