You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2017/10/11 19:42:47 UTC
ambari git commit: AMBARI-22211. RU was not started on Oracle due to
missing table (ncole)
Repository: ambari
Updated Branches:
refs/heads/branch-2.6 94ac80790 -> dea07c3ed
AMBARI-22211. RU was not started on Oracle due to missing table (ncole)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/dea07c3e
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/dea07c3e
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/dea07c3e
Branch: refs/heads/branch-2.6
Commit: dea07c3ed582ce894ed58edb8b1b0a5bed13eeec
Parents: 94ac807
Author: Nate Cole <nc...@hortonworks.com>
Authored: Wed Oct 11 15:10:44 2017 -0400
Committer: Nate Cole <nc...@hortonworks.com>
Committed: Wed Oct 11 15:20:25 2017 -0400
----------------------------------------------------------------------
.../src/main/resources/Ambari-DDL-Oracle-CREATE.sql | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/dea07c3e/ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql b/ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
index 4e5f30f..65be459 100644
--- a/ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
+++ b/ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
@@ -846,12 +846,12 @@ CREATE TABLE upgrade_item (
);
CREATE TABLE upgrade_history(
- id BIGINT NOT NULL,
- upgrade_id BIGINT NOT NULL,
+ id NUMBER(19) NOT NULL,
+ upgrade_id NUMBER(19) NOT NULL,
service_name VARCHAR2(255) NOT NULL,
component_name VARCHAR2(255) NOT NULL,
- from_repo_version_id BIGINT NOT NULL,
- target_repo_version_id BIGINT NOT NULL,
+ from_repo_version_id NUMBER(19) NOT NULL,
+ target_repo_version_id NUMBER(19) NOT NULL,
CONSTRAINT PK_upgrade_hist PRIMARY KEY (id),
CONSTRAINT FK_upgrade_hist_upgrade_id FOREIGN KEY (upgrade_id) REFERENCES upgrade (upgrade_id),
CONSTRAINT FK_upgrade_hist_from_repo FOREIGN KEY (from_repo_version_id) REFERENCES repo_version (repo_version_id),