Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E22E6200D29 for ; Wed, 11 Oct 2017 21:44:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E0D3E1609BB; Wed, 11 Oct 2017 19:44:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 320D61609E5 for ; Wed, 11 Oct 2017 21:44:22 +0200 (CEST) Received: (qmail 71684 invoked by uid 500); 11 Oct 2017 19:44:21 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 71672 invoked by uid 99); 11 Oct 2017 19:44:21 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2017 19:44:21 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 398B4DFADA; Wed, 11 Oct 2017 19:44:21 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ncole@apache.org To: commits@ambari.apache.org Message-Id: <44b740e02c644b1b965f8f4c4209c9dd@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: ambari git commit: AMBARI-22211. RU was not started on Oracle due to missing table (ncole) Date: Wed, 11 Oct 2017 19:44:21 +0000 (UTC) archived-at: Wed, 11 Oct 2017 19:44:23 -0000 Repository: ambari Updated Branches: refs/heads/trunk 323974e19 -> c10019736 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/c1001973 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c1001973 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c1001973 Branch: refs/heads/trunk Commit: c10019736972825c8b60a82c42cfe5713ddbe073 Parents: 323974e Author: Nate Cole Authored: Wed Oct 11 15:44:03 2017 -0400 Committer: Nate Cole Committed: Wed Oct 11 15:44:03 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/c1001973/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 02f6e3e..ebe5f12 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),