I am trying to read data from mongodb atlas from pyspark but it is throwing an error. Py4JJavaError: An error occurred while calling o204.load.
: java.lang.IllegalArgumentException: requirement failed: Invalid uri: 'mongodb+srv:<url>
I believe this is throwing an Invalid url due to srv along mongodb.
I want to provide jars required for connection using --jars instead --packages as --packages will trigger run time download of required connector .