Zeppelin change port already in use by Spark Master
Solution 1
You likely need to copy the .template
files, e.g. copy your modified zeppelin-env.sh.template
to zeppelin-env.sh
and zeppelin-site.xml.template
to zeppelin-site.xml
.
Solution 2
From your zeppelin installation dir (example on my computer its: zeppelin-0.7.3-bin-all
):
cp conf/zeppelin-env.sh.template conf/zeppelin-env.sh
vi conf/zeppelin-env.sh
Add the following parameter:
export ZEPPELIN_PORT=8180 # Add this line to zeppelin-env.sh
restart zeppelin you should now be able to access it over:
Solution 3
Indeed, both documented ways should work:
- create
conf/zeppelin-site.xml
withzeppelin.server.port
property - create
conf/zeppelin-env.sh
and exportZEPPELIN_PORT
env variable
and restarting Zeppelin
Leandro Latorre
Updated on July 28, 2022Comments
-
Leandro Latorre almost 2 years
When I start zeppelin on AWS, It starts on port 8080, but there is Spark Master so it says port already in use... I tried changing port in zeppelin in config files, in "zeppelin-site.xml.template"
<property> <name>zeppelin.server.port</name> <value>8050</value> <description>Server port.</description> </property>
I made it too in "zeppelin-env.sh.template" adding the env line for the same port.
When I start zeppelin, I get OK, but if I see the open ports, It doesn't appear 8050 anywhere, so looks like It is still trying to deploy on port 8080, where Spark Master is...
Someone who got zeppelin not ignoring changed port?
Thanks
-
Leandro Latorre over 8 yearsOh god how I did not see that, thank you very much you saved my day.
-
Marcello Grechi Lins about 7 yearsLink is broken :(
-
HP. over 6 yearsYour source link is not found