ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alejan...@apache.org
Subject ambari git commit: AMBARI-8264. Ambari DB DDL create script doesn't properly create table cluster_version (alejandro)
Date Mon, 10 Nov 2014 23:19:56 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 5fefa7f37 -> 7ab7fb217


AMBARI-8264. Ambari DB DDL create script doesn't properly create table cluster_version (alejandro)


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

Branch: refs/heads/trunk
Commit: 7ab7fb2171e27e96536e040bacb27c9c0907addb
Parents: 5fefa7f
Author: Alejandro Fernandez <afernandez@hortonworks.com>
Authored: Mon Nov 10 14:44:05 2014 -0800
Committer: Alejandro Fernandez <afernandez@hortonworks.com>
Committed: Mon Nov 10 15:19:41 2014 -0800

----------------------------------------------------------------------
 .../src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/7ab7fb21/ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql b/ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
index a8b92e7..7eb0b48 100644
--- a/ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
+++ b/ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
@@ -52,7 +52,7 @@ GRANT ALL PRIVILEGES ON TABLE ambari.clusterservices TO :username;
 CREATE TABLE ambari.clusterstate (cluster_id BIGINT NOT NULL, current_cluster_state VARCHAR(255)
NOT NULL, current_stack_version VARCHAR(255) NOT NULL, PRIMARY KEY (cluster_id));
 GRANT ALL PRIVILEGES ON TABLE ambari.clusterstate TO :username;
 
-CREATE TABLE cluster_version (
+CREATE TABLE ambari.cluster_version (
   id BIGINT NOT NULL,
   cluster_id BIGINT NOT NULL,
   stack VARCHAR(255) NOT NULL,
@@ -84,7 +84,7 @@ GRANT ALL PRIVILEGES ON TABLE ambari.hosts TO :username;
 CREATE TABLE ambari.hoststate (agent_version VARCHAR(255) NOT NULL, available_mem BIGINT
NOT NULL, current_state VARCHAR(255) NOT NULL, health_status VARCHAR(255), host_name VARCHAR(255)
NOT NULL, time_in_state BIGINT NOT NULL, maintenance_state VARCHAR(512), PRIMARY KEY (host_name));
 GRANT ALL PRIVILEGES ON TABLE ambari.hoststate TO :username;
 
-CREATE TABLE host_version (
+CREATE TABLE ambari.host_version (
   id BIGINT NOT NULL,
   host_name VARCHAR(255) NOT NULL,
   stack VARCHAR(255) NOT NULL,


Mime
View raw message