ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rle...@apache.org
Subject ambari git commit: AMBARI-14994. CLUSTER.MANAGE_CONFIG_GROUPS not present in table 'roleauthorization' error during upgrade from 2.2.1 to 2.4.0 (rlevas)
Date Thu, 11 Feb 2016 14:13:36 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 96bdecf84 -> 4fe6f000b


AMBARI-14994. CLUSTER.MANAGE_CONFIG_GROUPS not present in table 'roleauthorization' error
during upgrade from 2.2.1 to 2.4.0 (rlevas)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/4fe6f000
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/4fe6f000
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/4fe6f000

Branch: refs/heads/trunk
Commit: 4fe6f000b3851cc7c43664e6e4df4738ab019810
Parents: 96bdecf
Author: Robert Levas <rlevas@hortonworks.com>
Authored: Thu Feb 11 09:13:27 2016 -0500
Committer: Robert Levas <rlevas@hortonworks.com>
Committed: Thu Feb 11 09:13:27 2016 -0500

----------------------------------------------------------------------
 .../java/org/apache/ambari/server/upgrade/UpgradeCatalog230.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/4fe6f000/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog230.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog230.java
b/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog230.java
index 2d6fe03..eb5feb7 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog230.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog230.java
@@ -198,6 +198,7 @@ public class UpgradeCatalog230 extends AbstractUpgradeCatalog {
     dbAccessor.insertRow(ROLE_AUTHORIZATION_TABLE, columnNames, new String[]{"'CLUSTER.VIEW_ALERTS'",
"'View cluster-level alerts'"}, false);
     dbAccessor.insertRow(ROLE_AUTHORIZATION_TABLE, columnNames, new String[]{"'CLUSTER.MANAGE_CREDENTIALS'",
"'Manage external credentials'"}, false);
     dbAccessor.insertRow(ROLE_AUTHORIZATION_TABLE, columnNames, new String[]{"'CLUSTER.MODIFY_CONFIGS'",
"'Modify cluster configurations'"}, false);
+    dbAccessor.insertRow(ROLE_AUTHORIZATION_TABLE, columnNames, new String[]{"'CLUSTER.MANAGE_CONFIG_GROUPS'",
"'Manage cluster configuration groups'"}, false);
     dbAccessor.insertRow(ROLE_AUTHORIZATION_TABLE, columnNames, new String[]{"'CLUSTER.MANAGE_ALERTS'",
"'Manage cluster-level alerts'"}, false);
     dbAccessor.insertRow(ROLE_AUTHORIZATION_TABLE, columnNames, new String[]{"'CLUSTER.TOGGLE_ALERTS'",
"'Enable/disable cluster-level alerts'"}, false);
     dbAccessor.insertRow(ROLE_AUTHORIZATION_TABLE, columnNames, new String[]{"'CLUSTER.TOGGLE_KERBEROS'",
"'Enable/disable Kerberos'"}, false);


Mime
View raw message