Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Issue while opening Spark shell

Tags:

apache-spark

I am trying to open spark using command

$ spark-shell

but getting warning. How to fix it.

Warning:

WARN util.Utils: Service 'SparkUI' could not bind on port 4040. Attempting port 4041.
like image 632
animal Avatar asked Dec 06 '16 12:12

animal


1 Answers

Spark port you can change anytime when running in the command prompt

[hadoop@localhost ~]$ spark-shell --conf spark.ui.port=4041

by default, spark run into the 4040

like image 79
Shyam Gupta Avatar answered Nov 15 '22 07:11

Shyam Gupta