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

(Updated Sept. 4, 2015, 10:15 a.m.)


Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, Jonathan 
Hurley, and Nate Cole.


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


Repository: ambari


Description
-------

In Ambari 2.2.0, we'll need to support Stop-and-Start Upgrade from HDP 2.x -> 
2.y.
This means that if the user is still on HDP 2.x, the only upgrade pack possible 
will be Stop-and-Start Upgrade to HDP 2.y, so it doesn't make sense to allow 
the user to register a repo for any version except HDP 2.y.
During repo_version creation, we need to ensure that the version being 
installed has an upgrade pack that will allow upgrading to it.


Diffs (updated)
-----

  
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProvider.java
 1c2328d 
  
ambari-server/src/main/java/org/apache/ambari/server/state/stack/UpgradePack.java
 bd06ea8 
  
ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/RepositoryVersionHelper.java
 615029d 
  
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProviderTest.java
 c01dcd2 

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


Testing
-------

tests passed


Thanks,

Dmytro Grinenko

Reply via email to