payert opened a new pull request #3290:
URL: https://github.com/apache/ambari/pull/3290


   When installing Druid the `druid.emitter.ambari-metrics.hostname` property 
is set to the first character of the hostname of the AMS collector host even 
though the property in Ambari is set to `metric_collector_host`. 
   
   /etc/druid/conf/_common/common.runtime.properties file contains:
   ```
   druid.emitter=ambari-metrics
   druid.emitter.ambari-metrics.eventConverter={"type":"whiteList"}
   druid.emitter.ambari-metrics.hostname=c
   druid.emitter.ambari-metrics.port=6188
   druid.emitter.ambari-metrics.protocol=https
   druid.emitter.ambari-metrics.trustStorePassword=clientTrustStorePassword
   druid.emitter.ambari-metrics.trustStorePath=/etc/security/clientKeys/all.jks
   druid.emitter.ambari-metrics.trustStoreType=jks
   ```
   ## What changes were proposed in this pull request?
   The extraction of the first hostname from the list if metric collector hosts 
has been fixed.
   
   ## How was this patch tested?
   Tested manually by installing/restarting Druid when one, two or zero Metrics 
Collector is present in the cluster and watched the content of 
'/etc/druid/conf/_common/common.runtime.properties' file.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to