ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tbeerbo...@apache.org
Subject [1/2] AMBARI-6679 - Add Cluster Privilege Resource
Date Thu, 31 Jul 2014 13:41:02 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk b453fa46a -> 48f97d399


http://git-wip-us.apache.org/repos/asf/ambari/blob/48f97d39/ambari-server/src/test/resources/ddl-scripts/Ambari-DDL-Derby-1.4.4.sql
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/resources/ddl-scripts/Ambari-DDL-Derby-1.4.4.sql b/ambari-server/src/test/resources/ddl-scripts/Ambari-DDL-Derby-1.4.4.sql
index 012f7be..f5fea71 100644
--- a/ambari-server/src/test/resources/ddl-scripts/Ambari-DDL-Derby-1.4.4.sql
+++ b/ambari-server/src/test/resources/ddl-scripts/Ambari-DDL-Derby-1.4.4.sql
@@ -17,7 +17,7 @@
 --
 
 ------create tables ang grant privileges to db user---------
-CREATE TABLE clusters (cluster_id BIGINT NOT NULL, cluster_info VARCHAR(255) NOT NULL, cluster_name
VARCHAR(100) NOT NULL UNIQUE, desired_cluster_state VARCHAR(255) NOT NULL, desired_stack_version
VARCHAR(255) NOT NULL, PRIMARY KEY (cluster_id));
+CREATE TABLE clusters (cluster_id BIGINT NOT NULL, resource_id BIGINT NOT NULL, cluster_info
VARCHAR(255) NOT NULL, cluster_name VARCHAR(100) NOT NULL UNIQUE, desired_cluster_state VARCHAR(255)
NOT NULL, desired_stack_version VARCHAR(255) NOT NULL, PRIMARY KEY (cluster_id));
 
 CREATE TABLE clusterconfig (version_tag VARCHAR(255) NOT NULL, type_name VARCHAR(255) NOT
NULL, cluster_id BIGINT NOT NULL, config_data VARCHAR(32000) NOT NULL, create_timestamp BIGINT
NOT NULL, PRIMARY KEY (cluster_id, type_name, version_tag));
 


Mime
View raw message