Hi All: when I use `session.run()` I got the follo...
# questions
a
Hi All: when I use
session.run()
I got the following error message:
Copy code
22/11/04 21:25:59 ERROR SparkUI: Failed to bind SparkUI
java.net.BindException: Failed to bind to /0.0.0.0:9016: Service 'SparkUI' failed after 16 retries (starting from 9000)! Consider explicitly setting the appropriate port for the service 'SparkUI' (for example spark.ui.port for SparkUI) to an available port or increasing spark.port.maxRetries.
but I use
kedro run
It work
d
So it’s possibly a working directory issue
but it’s a spark configuration issue either way
a
thank you @datajoely add the code
if __name__ == '__main__'
before the
session.run()
fix it
🥳 1