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 43425: [preview] Component should support a desired version
Date Thu, 18 Feb 2016 15:49:58 GMT

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

(Updated Feb. 18, 2016, 5:49 p.m.)


Review request for Ambari, Jonathan Hurley and Nate Cole.


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


Repository: ambari


Description (updated)
-------

When performing an upgrade, we need to specify that a component's desired version is getting
changed. Also upgrade status is tracked based on component statuses (not host/cluster versions)


Diffs (updated)
-----

  .gitignore a8c4aab 
  ambari-server/src/main/java/org/apache/ambari/server/agent/HeartBeatHandler.java 248ce4b

  ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java
b62f4d1 
  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProvider.java
87731c4 
  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
40565c5 
  ambari-server/src/main/java/org/apache/ambari/server/events/HostComponentVersionEvent.java
ee65d3d 
  ambari-server/src/main/java/org/apache/ambari/server/events/listeners/upgrade/StackVersionListener.java
74d4f4b 
  ambari-server/src/main/java/org/apache/ambari/server/events/publishers/VersionEventPublisher.java
3a11f38 
  ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ClusterEntity.java 2c4d695

  ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostComponentStateEntity.java
f92f645 
  ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ServiceComponentDesiredStateEntity.java
65cc107 
  ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/FinalizeUpgradeAction.java
03d407a 
  ambari-server/src/main/java/org/apache/ambari/server/stack/MasterHostResolver.java 561350b

  ambari-server/src/main/java/org/apache/ambari/server/state/Cluster.java b430525 
  ambari-server/src/main/java/org/apache/ambari/server/state/RepositoryVersionState.java 344f358

  ambari-server/src/main/java/org/apache/ambari/server/state/ServiceComponent.java 7803045

  ambari-server/src/main/java/org/apache/ambari/server/state/ServiceComponentHost.java f1e8d62

  ambari-server/src/main/java/org/apache/ambari/server/state/ServiceComponentImpl.java 4afc857

  ambari-server/src/main/java/org/apache/ambari/server/state/UpgradeHelper.java 5143bfa 
  ambari-server/src/main/java/org/apache/ambari/server/state/UpgradeState.java ced1dd3 
  ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java 8230fe3

  ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java
92828af 
  ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostSummary.java
1c36143 
  ambari-server/src/main/resources/Ambari-DDL-Derby-CREATE.sql 2db745b 
  ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql 8c626f5 
  ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql f8e4ee1 
  ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql e3ce96c 
  ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql 5d47c28 
  ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql 263004f 
  ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql 80feca5 
  ambari-server/src/test/java/org/apache/ambari/server/events/listeners/upgrade/StackVersionListenerTest.java
ae05a6b 
  ambari-server/src/test/java/org/apache/ambari/server/events/publishers/VersionEventPublisherTest.java
071c6f0 
  ambari-server/src/test/java/org/apache/ambari/server/orm/dao/UpgradeDAOTest.java 3ad2240


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


Testing (updated)
-------

Pending E2E RU/EU upgrades/downgrades on live cluster

Did not work on unit tests yet. They are broken (don't compile), so I just remove them before
build for now.


Thanks,

Dmitro Lisnichenko


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