ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitro Lisnichenko" <dlysniche...@hortonworks.com>
Subject Re: Review Request 28753: Rolling Upgrade: ClusterStackVersion should display only one repository version
Date Fri, 05 Dec 2014 17:35:51 GMT

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

(Updated Dec. 5, 2014, 5:35 p.m.)


Review request for Ambari, Alejandro Fernandez and Nate Cole.


Changes
-------

Fixed unit tests and tested manually.
Also, included parts of another my patch. Now ClusterStackVersions/HostsStackVersions are
persisted in INSTALLED state upon creation. That should allow UI team to implement end to
end workflow.I'll fix INSTALLED states to INIT states when patch for 2-stage API for distribute
repositories/install packages action is ready.


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


Repository: ambari


Description
-------

for now cluster stack version resource contains all created repository versions: (repo version
filtering does not work correctly)


Diffs (updated)
-----

  ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterStackVersionService.java
97d3bde 
  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
a12bd29 
  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProvider.java
1b3eef8 
  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProvider.java
c031ac1 
  ambari-server/src/main/java/org/apache/ambari/server/state/Cluster.java 125b71b 
  ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java 5a9731a

  ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProviderTest.java
0e8269f 

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


Testing (updated)
-------

[INFO] Reactor Summary:
[INFO] 
[INFO] Ambari Views ...................................... SUCCESS [3.225s]
[INFO] Ambari Server ..................................... SUCCESS [27:27.658s]
[INFO] Ambari Agent ...................................... SUCCESS [8.468s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27:40.036s
[INFO] Finished at: Fri Dec 05 20:29:41 FET 2014
[INFO] Final Memory: 33M/323M
[INFO] ------------------------------------------------------------------------


Thanks,

Dmitro Lisnichenko


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message