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 ?
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 channelDoes anyone have any suggestions on this issue ?