-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40723/
-----------------------------------------------------------

Review request for Ambari, Dmytro Sen, Sumit Mohanty, and Sid Wagle.


Bugs: AMBARI-14078
    https://issues.apache.org/jira/browse/AMBARI-14078


Repository: ambari


Description
-------

PROBLEM
Collector startup takes greater than 6mins even though the 
ApplicationHistoryServer is up in 2mins in secure cluster.

Bug
The collector startup script uses HBase shell to poll and check if the metrics 
schema is created. HBase shell takes a long time to respond in a secure 
environment without kinit.

Fix
Doing a "kinit" before starting up the metrics collector solves the performance 
issue


-----------------

NOTE : Some metrics collector startup script STDOUT echo statements (4-5) have 
also been piped to the ambari-metrics-collector.out file to facilitate 
debugging. Hence, the .out file will be appended to, across collector START 
requests.


Diffs
-----

  
ambari-metrics/ambari-metrics-timelineservice/conf/unix/ambari-metrics-collector
 25305cf 
  
ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/ams_service.py
 2b475dd 

Diff: https://reviews.apache.org/r/40723/diff/


Testing
-------

Manual testing on Kerberized and normal environment.

Python unit tests pass.


Thanks,

Aravindan Vijayan

Reply via email to