apache zeppelin is started but there is connection error in localhost:8080

非 Y 不嫁゛ 提交于 2019-12-04 20:29:51

Check if you can reach it at 127.0.0.1:8080. This works for me, while localhost:8080 also is not reachable.

Also check other Zeppelin files, like interpreter.json and the notebook files. They might have saved config values that are overriding what you are setting in configuration.xsl.

I had a similar problem, mostly with the MASTER setting, but also with the port. I specified new values, but Zeppelin was ignoring them. I eventually discovered that Zeppelin had taken the value of the environment variable MASTER, and unknown to me, saved it into the interpreter.json file. You might try editing that file, or recreating your Zeppelin Interpreters.

In my case, I decided not to mess with that, just did a complete reinstalling of Zeppelin to ensure a clean slat. Then added the following lines to the zeppelin-env.sh file before starting:

export MASTER=local[*]
export ZEPPELIN_PORT=8088

That worked.

In zeppelin-site.xml file conf should be like as you did, add right spark master address in zeppelin-env.sh and interpreter.json file.

you can copy spark master address from spark-master log file. I did like this and running fine.

I had the same issue. The solution that worked for me was to add the ip and domain name in etc/hosts. If you go to logs folder where zeppelin is installed you may find more information. For me, that helped. The logs showed an "Caused by: java.net.UnknownHostException... Temporary failure in name resolution".

Adding the host name in etc/hosts solved the issue

In my case, spark and zeppelin version was conflicted. My zeppelin was not support spark 2.2.0(It's possible from new version : check outhttps://issues.apache.org/jira/browse/ZEPPELIN-2768). If someone has no errors on zeppelin log and can't get in localhost, check your zeppelin supports your spark version.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!