Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Error starting Zeppelin Notebook in Sandbox -

avatar
Contributor

Hey guys,

i'm stuck at Lab 5 of the Tutorial since Zeppelin does not start, when i click on Zeppelin UI from Ambari.

I can not open Zeppelin interface under http://sandbox.hortonworks.com:9995 from Safari.

Can anyone help?

Thanks, Stefan

1 ACCEPTED SOLUTION

avatar
Super Guru

@Stefan Schuster

Can you confirm that Zeppelin is actually running? Are you accessing the Ambari via "http://sandbox.hortonworks.com:8080"? If you are not, have you put sandbox.hortonworks.com in your local computer host file? You can try "http://localhost:9995" to see if that works for you, assuming you are using the Sandbox on your local computer.

View solution in original post

8 REPLIES 8

avatar

Does it work in Chrome or Firefox?

avatar
Contributor

Thanks for your quick response!

It doesn't work with other browsers either. I tried to use ff to access Zeppelin through quick link (see pic)

14825-bildschirmfoto-2017-04-23-um-220458.png

avatar
Contributor

FYI. Works with "Localhost" and port number as mentioned in the answer below.

avatar
Super Guru

@Stefan Schuster

Can you confirm that Zeppelin is actually running? Are you accessing the Ambari via "http://sandbox.hortonworks.com:8080"? If you are not, have you put sandbox.hortonworks.com in your local computer host file? You can try "http://localhost:9995" to see if that works for you, assuming you are using the Sandbox on your local computer.

avatar
Contributor

Hey @Michael Young

Thanks for your response. That kinda worked. Can you explain why it does not work when i want to access Zeppelin through the quick link as shown in the pic below?

14826-bildschirmfoto-2017-04-23-um-220458.png

I'am using sandbox on my computer and as you might guess, i'm very new to hadoop and the IT world in general.

So what do I have to do to put sandbox.hortonworks.com in my local host file, as you mentioned? If I use localhost and port number, Zeppelin UI opens.

Thanks again.

avatar
Super Collaborator

Hi @Stefan Schuster,

First of all check your local machine IP address. Then at the end of hosts file add line:

machine_ip_address sandbox.hortonworks.com

After this http://sandbox.hortonworks.com:port will work.

Depends on your local computer OS, the path is different. For Windows the file is in: C:\Windows\System32\drivers\etc\hosts

avatar
Super Guru

@Stefan Schuster

The Sandbox is setup to assume that you have "sandbox.hortonworks.com" in your local computer host file. So all of the links will typically use "sandbox.hortonworks.com". If you don't update your local host file, you will fail to connect.

Are you on Windows, Mac or Linux? that will determine the appropriate approach. Mac and Linux host files are usually /etc/hosts. I'm using the Docker Sandbox and I'm on a Mac. My /etc/hosts file looks like this:

127.0.0.1 localhost sandbox.hortonworks.com sandbox

avatar
Contributor

Thanks for your explanation @Michael Young ! Helped a lot.