Pyspark connection with Cassandra and Postgres First Create the Environment For JAVA PYTHON SPARK Add the postgres and cassandra jar file to spark jar folder