Thursday, October 10, 2019

Enabling high availability for Ambari metrics collector


For Documentaion - https://docs.cloudera.com/HDPDocuments/Ambari-2.7.3.0/managing-high-availability/content/amb_enabling_ams_high_availability.html

Possible Issues


    - AMS Metrics Collector  keeps on crashing:



ERROR Logs from Ambari Metrics Collector log:


  ERROR [main] ApplicationHistoryServer:190 - AHSWebApp failed to start.  org.apache.hadoop.yarn.webapp.WebAppException: Error starting http server

  Caused by: java.net.BindException: Port in use: XXXXXXXXXXXX:6188
        at org.apache.hadoop.http.HttpServer2.constructBindException(HttpServer2.java:1000)

  Caused by: java.net.BindException: Cannot assign requested address

        at sun.nio.ch.Net.bind0(Native Method)

   INFO [main] AbstractService:272 - Service org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer failed in state STARTED; cause: org.apache.hadoop.yarn.exceptions.YarnRuntimeException: AHSWebApp failed to start.


Solution

Check this property - And it should be configured like below:

     timeline.metrics.service.webapp.address >> 0.0.0.0:6188

No comments:

Post a Comment

Hive Architecture

Hive Architecture in One Image