Created 01-03-2017 09:44 AM
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,
Created 01-03-2017 02:53 PM
Hi,
I added the IP@ of the VDS to my local hosts file and it's done 🙂
Thank you for your help.
Created 01-03-2017 10:33 AM
- 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/
.
Created 01-03-2017 01:05 PM
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.
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,
Created 01-03-2017 02:31 PM
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.
Created 01-03-2017 02:53 PM
Hi,
I added the IP@ of the VDS to my local hosts file and it's done 🙂
Thank you for your help.
Created 01-03-2017 02:53 PM
Hi,
I added the IP@ of the VDS to my local hosts file and it's done 🙂
Thank you for your help.