Zeppelin change port already in use by Spark Master

Leandro Latorre picture Leandro Latorre · Aug 25, 2015 · Viewed 12.7k times · Source

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

Answer

Holden picture Holden · Aug 25, 2015

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.