Spark is not working

Hi Team,

Spark is not working !!
17/04/03 04:17:45 ERROR SparkUI: Failed to bind SparkUI Address already in use: Service ‘SparkUI’ failed after 16 retries! Consider explicitly setting the appropriate port for the service ‘SparkU
I’ (for example spark.ui.port for SparkUI) to an available port or increasing spark.port.maxRetries

Please check

Hi Jonu,

Please specify a unique 5 Digit Port No when you run into these kind of issues.


spark-shell --master yarn --conf “spark.ui.port=22222”