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/09/07 04:34:00 UTC

[jira] [Commented] (AMBARI-21894) PATCH and MAINT Repositories Should Indicate that they can be Reverted

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

Hudson commented on AMBARI-21894:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.6 #165 (See [https://builds.apache.org/job/Ambari-branch-2.6/165/])
AMBARI-21894 - PATCH and MAINT Repositories Should Indicate that they (jhurley: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=313e3bf0f812a285506ff5e58cf1ef23544764d1])
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
* (edit) ambari-server/src/main/resources/Ambari-DDL-Derby-CREATE.sql
* (edit) ambari-server/src/test/java/org/apache/ambari/server/orm/dao/UpgradeDAOTest.java
* (edit) ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
* (edit) ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog260Test.java
* (edit) ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/RepositoryType.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UpgradeResourceProviderTest.java
* (edit) ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
* (edit) ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/FinalizeUpgradeAction.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/state/UpgradeContextTest.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/AbstractUpgradeServerAction.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/UpgradeContext.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/entities/UpgradeEntity.java
* (edit) ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
* (edit) ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
* (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/dao/UpgradeDAO.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog260.java


> PATCH and MAINT Repositories Should Indicate that they can be Reverted
> ----------------------------------------------------------------------
>
>                 Key: AMBARI-21894
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21894
>             Project: Ambari
>          Issue Type: Task
>    Affects Versions: 2.6.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Blocker
>             Fix For: 2.6.0
>
>         Attachments: AMBARI-21894.patch
>
>
> In the current PU UI, the revert button is shown for any PATCH type repository.  The backend should compute whether a version can be reverted.
> The backed should return a value, such as {{ClusterStackVersions/supports_revert}} which clients, such as the web client, can use.
> {code:title=Example REST Changes}
> {
>   "ClusterStackVersions": {
>     "cluster_name": "c1",
>     "id": 51,
>     "repository_version": 51,
>     "revert_upgrade_id": 1,
>     "stack": "HDP",
>     "supports_revert": true,
>     "version": "2.6"
>   }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)