java - Hadoop2- YARN - ApplicationMaster UI - Connection refused issue -


i'm getting below issue while accessing applicationmaster ui rm webui (hadoop 2.6.0). there no standalone webproxy server running. proxy running part of resourcemanager.

 "http error 500 problem accessing /proxy/application_1431357703844_0004/. reason:     connection refused" 

log entries in resourcemanager logs:

 2015-05-11 19:25:01,837 info  webproxy.webappproxyservlet (webappproxyservlet.java:doget(330)) - ubuntu accessing unchecked http://slave1:51704/ app master gui of application_1431357703844_0004 owned ubuntu 2015-05-11 19:25:01,845 warn  mortbay.log (slf4jlog.java:warn(76)) - /proxy/application_1431357703844_0004/: java.net.connectexception: connection refused 

when wget of appmaster url rm, below output

 ubuntu@resource-manager:/mnt/logs/yarn$ wget -o- "http://slave1:51704/" --2015-05-11 19:26:47--  http://slave1:51704/ http request sent, awaiting response... 302 found location: http://slave1:51704/mapreduce [following] --2015-05-11 19:26:47--  http://slave1:51704/mapreduce http request sent, awaiting response... 302 found location: http://slave1:8088/proxy/application_1431357703844_0004/mapreduce [following] --2015-05-11 19:26:47--  http://slave1:8088/proxy/application_1431357703844_0004/mapreduce connecting slave1|:8088... failed: connection refused. 

when wget of same appmaster url node appmaster running, got 200 response.

 ubuntu@slave1:~$ wget -o- http://slave1:51704/ --2015-05-11 19:31:13--  http://slave1:51704/ connecting slave1|:51704... connected. http request sent, awaiting response... 302 found location: http://slave1:51704/mapreduce [following] --2015-05-11 19:31:13--  http://slave1:51704/mapreduce http request sent, awaiting response... 200 ok length: 6846 (6.7k) [text/html] 

the main difference note here is, when request made rm, nodemanager redirected different url "http://slave1:8088/proxy/application_1431357703844_0004/mapreduce" resulted in "connection refused". when request made nm running, didn't redirect above url, resulted in 200 response.

please me understand differential behaviour of redirection , resolve issue.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -