Spark Shell failing

17/03/04 19:19:12 ERROR SparkUI: Failed to bind SparkUI
java.net.BindException: Address already in use: Service ‘SparkUI’ failed after 16 retries! Consider explicitly setting the appropriate port for the service ‘SparkUI’ (for example spark.ui.port for SparkUI) to an available port o
r increasing spark.port.maxRetries.

Resolved :

Tried spark-shell --conf “spark.port.maxRetries=100”

It works

2 Likes