Support Questions

Find answers, ask questions, and share your expertise

DNS Error and JHS WebUI Error

What am I doing wrong? How can I correct this? I built a Hadoop Cluster using Cloudera Path B - Got the following errors 
1. DNS Resolution Error
2. Job History Server Web UI going to 

"This site can’t be reached
instance-1.c.12345678.internal’s server IP address could not be found."


I executed the following Linux commands

hostname -f

cat /etc/hosts   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6 instance-1.12345678.internal instance-1  # Added by Google
123.456.789.012  # Added by Google

cat  /etc/sysconfig/network

python -c "import socket; print socket.getfqdn(); print socket.gethostbyname(socket.getfqdn())";

ifconfig eth0 | grep "inet addr"
          inet addr:  Bcast:  Mask:


Super Guru

You are getting that in Chrome, I presume, so I also guess that you are attempting to connect to the Job History Server UI from a browser that is on a different host than instance-1.c.12345678.internal


That means your local host (where your browser is installed) cannot resolve the hostname "nstance-1.c.12345678.internal".  You will need to ensure your client host (where your browser is intalled) has hosts file or DNS configured to allow it to resolve the host to IP address.


This page has some tips on how to update your hosts file to resolve if needed.


You might also talk to Google if that is what cloud resource you are using and ask them how to get your external clients to be able to access internal addresses.