-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/48321/
-----------------------------------------------------------
Review request for Ambari, Andrew Onischuk, Robert Nettleton, and Vitalyi
Brodetskyi.
Bugs: AMBARI-17082
https://issues.apache.org/jira/browse/AMBARI-17082
Repository: ambari
Description
-------
If blueprint contains 2 AMS collectors, Ambari server failed to start
METRICS_COLLECTOR with
ERROR [pool-16-thread-1] TopologyManager:782 -
TopologyManager.ConfigureClusterTask: An exception occurred while attempting to
process cluster configs and set on cluster:
java.lang.IllegalArgumentException: Unable to update configuration property
'timeline.metrics.service.webapp.address' with topology information. Component
'METRICS_COLLECTOR' is mapped to an invalid number of hosts '2'.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
a0af813
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
8b1a9a6
Diff: https://reviews.apache.org/r/48321/diff/
Testing
-------
Unit tests passed
Thanks,
Dmytro Sen