[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=16159656#comment-16159656 ] Hadoop QA commented on AMBARI-21894: {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12885662/AMBARI-21894.patch against trunk revision . {color:red}-1 patch{color}. The patch command could not apply the patch. Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/12164//console This message is automatically generated. > 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)
[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=16156456#comment-16156456 ] Hudson commented on AMBARI-21894: - FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8011 (See [https://builds.apache.org/job/Ambari-trunk-Commit/8011/]) AMBARI-21894 - PATCH and MAINT Repositories Should Indicate that they (jhurley: [http://git-wip-us.apache.org/repos/asf?p=ambari.git=commit=8b5d697c0adb5ae92b16f1df2e2d6d75b066fce5]) * (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/java/org/apache/ambari/server/orm/dao/UpgradeDAO.java * (edit) ambari-server/src/main/resources/Ambari-DDL-Derby-CREATE.sql * (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UpgradeResourceProviderTest.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java * (edit) ambari-server/src/main/resources/Ambari-DDL-Postgres-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/state/UpgradeContextTest.java * (edit) ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog260Test.java * (edit) ambari-server/src/test/java/org/apache/ambari/server/orm/dao/UpgradeDAOTest.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog260.java * (edit) ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql * (edit) ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/AbstractUpgradeServerAction.java * (edit) ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql * (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/FinalizeUpgradeAction.java * (edit) ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql * (edit) ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql > 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)
[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=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=commit=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)