Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-18199

Wrong hostname in timeline.metrics.service.webapp.address breaks AMS HA

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • ambari-metrics
    • None

    Description

      On adding additional Collector the webapp address contains wrong hostname.

      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
      

      Attachments

        1. AMBARI-18199_2.patch
          40 kB
          Dmytro Sen
        2. AMBARI-18199.patch
          39 kB
          Dmytro Sen

        Issue Links

          Activity

            People

              dsen Dmytro Sen
              dsen Dmytro Sen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: