Dmytro Sen created AMBARI-18199:
-----------------------------------
Summary: Wrong hostname in timeline.metrics.service.webapp.address
breaks AMS HA
Key: AMBARI-18199
URL: https://issues.apache.org/jira/browse/AMBARI-18199
Project: Ambari
Issue Type: Bug
Components: ambari-metrics
Affects Versions: trunk
Reporter: Dmytro Sen
Assignee: Dmytro Sen
Priority: Critical
Fix For: trunk
On adding additional Collector the webapp address contains wrong hostname.
{noformat}
java.net.BindException: Port in use: ambari-sid-5.com:6188
at
org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:919)
at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:856)
at org.apache.hadoop.yarn.webapp.WebApps$Builder.start(WebApps.java:374)
at
org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.startWebApp(ApplicationHistoryServer.java:180)
at
org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.serviceStart(ApplicationHistoryServer.java:92)
at
org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
at
org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.launchAppHistoryServer(ApplicationHistoryServer.java:138)
at
org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.main(ApplicationHistoryServer.java:147)
Caused by: java.net.BindException: Cannot assign requested address
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)