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

Review request for Ambari, Dmitro Lisnichenko and Jonathan Hurley.


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


Repository: ambari


Description
-------

Pass the ClusterVersionSummary object with install_packages.

- {{conf-select}} should be called as normal for {{STANDARD}} upgrades and 
component installations / host installs
- {{conf-select}} should only be invoked for the services involved in a 
{{PATCH}}/{{MAINT}} upgrade
-- The exception here is that hadoop shared components (HDFS, YARN, MapR) can 
never be {{conf-select}}'d in this case.


Diffs
-----

  
ambari-common/src/main/python/resource_management/libraries/functions/conf_select.py
 c89e7675a4 
  
ambari-server/src/main/java/org/apache/ambari/server/agent/ExecutionCommand.java
 b3f91304c8 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
 a20658304f 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProvider.java
 b68dc22093 
  
ambari-server/src/main/java/org/apache/ambari/server/state/repository/ClusterVersionSummary.java
 e9d99208e5 
  
ambari-server/src/main/java/org/apache/ambari/server/state/repository/ServiceVersionSummary.java
 29505c832e 
  
ambari-server/src/main/java/org/apache/ambari/server/state/repository/VersionDefinitionXml.java
 7944de8e8c 
  
ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/RepositoryVersionHelper.java
 19019502dd 
  ambari-server/src/main/resources/custom_actions/scripts/install_packages.py 
8ba22d263b 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/properties/stack_packages.json
 20b12a97e5 
  
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProviderTest.java
 51979f6dee 
  ambari-server/src/test/python/stacks/2.2/common/test_conf_select.py 
92dd634cca 


Diff: https://reviews.apache.org/r/63535/diff/1/


Testing
-------

Manual.  Unit tests pending.


Thanks,

Nate Cole

Reply via email to