Created on 04-22-2016 02:41 PM - edited 09-16-2022 03:15 AM
Dear Hortonworks, Am using hdp2.4 sandbox, once my job finished (eg. sqoop import job) not able to view the history logs through resource manager UI. If i click history am getting error as below. All the quick links in MR2 getting the same even if history server is started and running fine.
http://sandbox.hortonworks.com:19888/ –> Job history server UI
This site can’t be reached
sandbox.hortonworks.com’s server DNS address could not be found.
Looking yours support!
Created 04-22-2016 04:43 PM
Please use this IP: 192.168.183.132. It should work. http://192.168.183.132:19888
Created 04-22-2016 02:42 PM
Please use : http://127.0.0.1:19888
If you are using linux then add below entry in /etc/hosts file
127.0.0.1 sandbox.hortonworks.com
If you are using windows then add above entry in C:\Windows\System32\drivers\etc\hosts
Created 04-22-2016 03:02 PM
Thanks kuldeep,
I tried but the same error persists. Anything else? My sandbox running in vmware workstation and my host os is windows10.
Created 04-22-2016 03:13 PM
Please find out the actual IP assigned to the sandbox by running following. Using this IP you should be able to access all the UIs.
ifconfig eth0 | grep "inet addr"
Created 04-22-2016 03:22 PM
Thanks Manish
When i check ifconfig no IP address assigned to etho. Getting error as
[root@sandbox ~]# ifconfig eth0 | grep "inet addr" eth0:
error fetching interface information: Device not found
Created 04-22-2016 04:07 PM
@VENKATESH M: Can you copy and paste output of following:
ifconfig
Created 04-22-2016 04:41 PM
Plz find the detail
eth1 Link encap:Ethernet HWaddr 00:0C:29:5C:4C:C8 inet addr:192.168.183.132 Bcast:192.168.183.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1634697 errors:0 dropped:0 overruns:0 frame:0 TX packets:40239 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:250967654 (239.3 MiB) TX bytes:20970278 (19.9 MiB)
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:1542905 errors:0 dropped:0 overruns:0 frame:0 TX packets:1542905 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1378392579 (1.2 GiB) TX bytes:1378392579 (1.2 GiB)
Created 04-22-2016 05:05 PM
Thanks Manish,
It works now but , when i click the job_id from from Application master to view history logs it fails and error am getting stated as above , may i know why anything i need to change, please help me
Created 04-22-2016 05:12 PM
I sort out the issue manish, thanks for your support, if i update entry of same ip in C:\Windows\System32\drivers\etc\hosts, am able to view the history logs through Application master itself
Created 04-22-2016 05:17 PM
Please keep changing the IP in any URL which does not have the desired IP address. Then it should work.
OR you can do following to get rid off this error as mentioned by: @Kuldeep Kulkarni:
Add below line in /etc/hosts file (in Mac/Linux). in Windows it is C:\Windows\System32\drivers\etc\hosts:
192.168.183.132 sandbox.hortonworks.com