-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/58970/
-----------------------------------------------------------
Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, and
Jonathan Hurley.
Bugs: AMBARI-20923
https://issues.apache.org/jira/browse/AMBARI-20923
Repository: ambari
Description
-------
When formulating commands to agents, the correct repositories need to be used
for the components. For example, after a cluster is patched, the following
repos could exist:
||Service||Component||Repository||
|HDFS |NN| 2.5.0.0|
|HDFS |DN| 2.5.0.0|
|YARN |RM| 2.5.0.1|
|YARN |NM| 2.5.0.1|
When installing an additional NM, the 2.5.0.1 repository should be used.
Diffs
-----
ambari-common/src/main/python/resource_management/libraries/script/script.py
0dd9c02d40
ambari-server/src/main/java/org/apache/ambari/server/agent/CommandRepository.java
849d6fba42
ambari-server/src/main/java/org/apache/ambari/server/agent/ExecutionCommand.java
bd62cbbd52
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java
d6905fb7a4
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
8995e51987
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ServiceComponentDesiredStateEntity.java
eb1b187459
ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelperTest.java
b0d085b942
ambari-server/src/test/java/org/apache/ambari/server/serveraction/upgrades/UpgradeActionTest.java
0a583aeea9
ambari-server/src/test/python/custom_actions/TestInstallPackages.py
5206ea351c
Diff: https://reviews.apache.org/r/58970/diff/1/
Testing
-------
Manual. Automated pending.
Thanks,
Nate Cole