Created 05-03-2017 07:28 PM
Hi,
I am trying to access the jobhistory server in my sandbox but it gives me site cant be reached. I'm sure that the historyserver is running as I also restarted it multiple times. I also checked using jps and were able to see the JobHistoryServer.
Need your help guys.
Thanks,
Bruce
Created 05-04-2017 05:23 AM
@Bruce,
First check the process is running or by using,
ps -aux | grep JobHistoryServer
If it is running take the PID from the first field of the ps result and do,
netstat -tulpn | grep PID
If 19888 port is in Listening mode then check your firewall setting or IP address of sandbox and check it in browser.
Created on 05-04-2017 01:17 PM - edited 08-17-2019 07:38 PM
@nshelke: Yes, it is running and the ports were listening. But still, inaccessible. What should i modify in my firewall. Please refer to my screenshots.
port_listening:
web_url:
Created 05-04-2017 01:59 PM
Could you please confirm that you can telnet to JHS port from your desktop?
telnet 10.69.161.179 19888
Created on 05-04-2017 02:13 PM - edited 08-17-2019 07:38 PM
Hi @Vaisakh Sundaram: I tried and cannot connect. see screenshot.
Created 05-04-2017 06:14 PM
I believe you might need to check your local firewall settings and make sure 19888 port is open to make the connection to JHS URL.
Created 05-04-2017 03:25 PM
@Bruce Perez
Please check, The IP assigned to the sandbox by using "ifconfig" command. It will give you two IP's one internal and one external, please use external IP in browser and try to access JobHistory Server. If external IP is not assigned to sandbox, please assign it by modifying vbox's network settings.
This should work.
Created 05-04-2017 03:42 PM
Hi @nshelke: I'm not using vbox. The sandbox is in Azure.
Created 05-04-2017 04:31 PM
Are you able to ping the server from your end please check it and If you are able to ping the server then check the setting in azure for the port 19888 is open or not in firewall.
Created 05-04-2017 04:34 PM
@nshelke: I was not able to ping the server, but I can open other web urls like Ambari, Hue etc. I sent a screenshot above.
Created 05-05-2017 04:33 AM
Are you able to ssh into the server, if yes please use below command,
ifconfig eth0 | grep "inet addr" and then use the IP in the browser.