You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2017/04/27 21:40:04 UTC

[jira] [Commented] (AMBARI-19381) Heartbeat version transitions must update Component alongside Cluster

    [ https://issues.apache.org/jira/browse/AMBARI-19381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15987750#comment-15987750 ] 

Hudson commented on AMBARI-19381:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #7369 (See [https://builds.apache.org/job/Ambari-trunk-Commit/7369/])
AMBARI-19381. Heartbeat version transitions must be update Component (ncole: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=cd245c00abaa5720675324a383e691434eabcf32])
* (edit) ambari-server/src/test/java/org/apache/ambari/server/orm/OrmTestHelper.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog300.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/ServiceComponent.java
* (edit) ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
* (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostComponentStateDAO.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RequestImplTest.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostComponentStateEntity.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/events/listeners/upgrade/StackVersionListener.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/checks/AbstractCheckDescriptorTest.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
* (edit) ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/ServiceComponentImpl.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/entities/RepositoryVersionEntity.java
* (edit) ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ComponentResourceProvider.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/ClusterGrouping.java
* (edit) ambari-server/src/main/resources/Ambari-DDL-Derby-CREATE.sql
* (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/dao/ServiceComponentDesiredStateDAO.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/state/ServiceComponentTest.java
* (edit) ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql
* (edit) ambari-server/src/main/java/org/apache/ambari/server/checks/AbstractCheckDescriptor.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/ServiceComponentResponse.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ComponentResourceProviderTest.java
* (edit) ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
* (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ServiceComponentDesiredStateEntity.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ServiceComponentVersionEntity.java
* (edit) ambari-server/src/main/resources/properties.json
* (edit) ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog300Test.java
AMBARI-19381. Heartbeat version transitions must be update Component (ncole: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=42b8dcf777ccdd72f84edccd16df78ac526bd218])
* (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/dao/ServiceComponentDesiredStateDAO.java


> Heartbeat version transitions must update Component alongside Cluster
> ---------------------------------------------------------------------
>
>                 Key: AMBARI-19381
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19381
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>            Reporter: Nate Cole
>            Assignee: Nate Cole
>            Priority: Critical
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-19381.patch
>
>
> Cluster can no longer be considered CURRENT on any singular version.  Several repositories can be current.  In that regard, heartbeats should be updating the component record with the appropriate repository status, and make sure there is a version record for the repository.
> * On heartbeat, create servicecomponent_version records
> * On cluster install (via install_packages), create servicecomponent_version records, if required.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)