You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm facing a problem, when executing the command 'df = spark.read.format("mongo").load()'
I get the error: 'Py4JJavaError: An error occurred while calling o38.load.
: com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting for a server that matches com.mongodb.client.internal.MongoClientDelegate$1@5a79e. Client view of cluster state is {type=REPLICA_SET, servers=[{address=mongo1:27017, type=REPLICA_SET_GHOST, roundTripTime=1.3 ms, state=CONNECTED}, {address=mongo2:27018, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketException: mongo2}, caused by {java.net.UnknownHostException: mongo2}}, {address=mongo3:27019, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketException: mongo3 }, caused by {java.net.UnknownHostException: mongo3}}]'
I'm using the image in windows 10, running with the command './run.ps1' in windows powershell
The text was updated successfully, but these errors were encountered:
For some reason the MongoDB cluster is not running within the Docker container, check it with
'docker ps'. I'll have to spin this up in a Windows environment to see if anything has changed within docker and the MongoDB latest version. For now, you can just point your MongoDB connection to a MongoDB Atlas cluster use the free tier. https://www.mongodb.com/cloud/atlas/signup
Hi! Thanks for making this docker available.
I'm facing a problem, when executing the command 'df = spark.read.format("mongo").load()'
I get the error: 'Py4JJavaError: An error occurred while calling o38.load.
: com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting for a server that matches com.mongodb.client.internal.MongoClientDelegate$1@5a79e. Client view of cluster state is {type=REPLICA_SET, servers=[{address=mongo1:27017, type=REPLICA_SET_GHOST, roundTripTime=1.3 ms, state=CONNECTED}, {address=mongo2:27018, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketException: mongo2}, caused by {java.net.UnknownHostException: mongo2}}, {address=mongo3:27019, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketException: mongo3 }, caused by {java.net.UnknownHostException: mongo3}}]'
I'm using the image in windows 10, running with the command './run.ps1' in windows powershell
The text was updated successfully, but these errors were encountered: