Skip to content

Why the callback server always listens to 25334 by default #19

Description

@ricdong

Why the callback server always listens to 25334 by default, which will cause the pyspark applications to not run on the same server at the same time.
I tried to modify the listening port before starting the callback server like below:

scala_utils.py
self.gateway.start_callback_server(callback_server_parameters = CallbackServerParameters(port = 0))

this can work on the different port for each pyspark application, but the Checks Failure with the constraint_message:

Can't execute the assertion: Error while obtaining a new communication channel

Does anyone have any suggestions on this issue ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions