You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by st...@apache.org on 2017/05/11 14:21:48 UTC

ambari git commit: AMBARI-20988. Add missing 'cluster_host_info' column to 'request' table to MSSQL DDL. (stoader)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 f125f6059 -> 4aff24a91


AMBARI-20988. Add missing 'cluster_host_info' column to 'request' table to MSSQL DDL. (stoader)


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

Branch: refs/heads/branch-2.5
Commit: 4aff24a915de9feed690769bbf8dab2bbb171d42
Parents: f125f60
Author: Toader, Sebastian <st...@hortonworks.com>
Authored: Thu May 11 16:21:30 2017 +0200
Committer: Toader, Sebastian <st...@hortonworks.com>
Committed: Thu May 11 16:21:30 2017 +0200

----------------------------------------------------------------------
 ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/4aff24a9/ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql b/ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
index b78e2a4..e4127f8 100644
--- a/ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
+++ b/ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
@@ -351,6 +351,7 @@ CREATE TABLE request (
   request_schedule_id BIGINT,
   start_time BIGINT NOT NULL,
   status VARCHAR(255),
+  cluster_host_info VARBINARY(MAX) NOT NULL,
   CONSTRAINT PK_request PRIMARY KEY CLUSTERED (request_id),
   CONSTRAINT FK_request_schedule_id FOREIGN KEY (request_schedule_id) REFERENCES requestschedule (schedule_id));
 
@@ -362,7 +363,6 @@ CREATE TABLE stage (
   supports_auto_skip_failure SMALLINT DEFAULT 0 NOT NULL,
   log_info VARCHAR(255) NOT NULL,
   request_context VARCHAR(255),
-  cluster_host_info VARBINARY(MAX) NOT NULL,
   command_params VARBINARY(MAX),
   host_params VARBINARY(MAX),
   command_execution_type VARCHAR(32) NOT NULL DEFAULT 'STAGE',