Skip to content

Error to run #5

Open
Open
@CDGodoy

Description

@CDGodoy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions