Support Questions
Find answers, ask questions, and share your expertise

unable to view Application log in EC2

Rising Star


HDP 2.3.2 cluster is set up on EC2 . When try to view the application logs for particular job it says " web page is not available"

the application job url is mapped to internal IP rather than external .


When try to view the logs of the application as its is mapped to internal IP .

How can I map application logs to external IPs .

P.S. - Using elastic IP (EC2) for the name node .




@Divya Gehlot

You would have to manage /etc/hosts in the local client "your laptop" .

Add entries of internal IP pointing to public IP of the machine.

Expert Contributor

@Divya Gehlot

For example here what I have done for the same

$ cat /etc/hosts


# Host Database


# localhost is used to configure the loopback interface

# when the system is booting.  Do not change this entry.

##	localhost	broadcasthost

::1             localhost ip-w.x.y.z-compute.internal

Here was public ip of ec2 instance.


@Rahul Pathak browse to the link using the external IP.

Expert Contributor

@Artem Ervits there is misunderstanding. Above answer was for @Divya Gehlot


@Rahul Pathak you're absolutely right, apologies.