Support Questions

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

Missing Zeppelin View

avatar
Expert Contributor

Hi,

When trying to access zeppelin view from ambari, i got the following error:

hostname’s server DNS address could not be found.

I can access it through separate page via port 9995. But I would know why it's impossible from ambari.

Please find enclosed the screen shot.zeppelin-view-1.jpgzeppelin-view-2.jpg

Ragards,

1 ACCEPTED SOLUTION

avatar
Expert Contributor
@Jay SenSharma

Hi,

I added the IP@ of the VDS to my local hosts file and it's done 🙂

Thank you for your help.

View solution in original post

5 REPLIES 5

avatar
Master Mentor

@Wael Horchani

- Do you have correct hostname mapping in your cluster?

- Can you check if all the hosts have the correct "hostname -f" output? Also the "/etc/hosts" file mapping? All the hosts in the cluster should be able to access eachother with the correct hostname.

- Do you see the correct hostname while making the following API call: http://AMBARI_HOSTNAME:8080/api/v1/clusters/CLUSTER_NAME/hosts/

- Also are you able to access the Zeppelin UI directly using the correct hostname ? If not then you will need to fix the hostname / DNS resolution. http://ZEPPELIN_HOST:9995/

.

avatar
Expert Contributor

@Jay SenSharma

The current cluster is composed by one machine. Please note that the machine is a remote VDS (virtual dedicated server) that i can access only via ssh or web. my local machine is windows 10.

  • Following the output of hostname commands

root@vds001:~# hostname

vds001

root@vds001:~# hostname -f

vds001.databridge.tn

{
  "href" : "http://197.12.8.49:8080/api/v1/clusters/DataBridge/hosts/",
  "items" : [
    {
      "href" : "http://197.12.8.49:8080/api/v1/clusters/DataBridge/hosts/vds001.databridge.tn",
      "Hosts" : {
        "cluster_name" : "DataBridge",
        "host_name" : "vds001.databridge.tn"
      }
    }
  ] 

}

--> should i configure the host file in my local machine?

Regards,

avatar
Master Mentor

@Wael Horchani

Zeppelin View is Iframe based view so please make sure that whatever host name you see there in the IFrame window, is accessible/resolvable from the host where you are opening the browser.

Try putting the mentioned hostname with the IP address in your local machine.

avatar
Expert Contributor
@Jay SenSharma

Hi,

I added the IP@ of the VDS to my local hosts file and it's done 🙂

Thank you for your help.

avatar
Expert Contributor
@Jay SenSharma

Hi,

I added the IP@ of the VDS to my local hosts file and it's done 🙂

Thank you for your help.