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 777F3200C41 for ; Fri, 10 Mar 2017 04:22:45 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 75F24160B87; Fri, 10 Mar 2017 03:22:45 +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 BE956160B75 for ; Fri, 10 Mar 2017 04:22:44 +0100 (CET) Received: (qmail 57772 invoked by uid 500); 10 Mar 2017 03:22:43 -0000 Mailing-List: contact dev-help@falcon.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.apache.org Delivered-To: mailing list dev@falcon.apache.org Received: (qmail 57761 invoked by uid 99); 10 Mar 2017 03:22:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Mar 2017 03:22:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 476731A01B8 for ; Fri, 10 Mar 2017 03:22:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.451 X-Spam-Level: * X-Spam-Status: No, score=1.451 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id RhCM2R-hty9Z for ; Fri, 10 Mar 2017 03:22:42 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 2FD0C5F1EE for ; Fri, 10 Mar 2017 03:22:42 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id BA913E095F for ; Fri, 10 Mar 2017 03:22:38 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 19396243B2 for ; Fri, 10 Mar 2017 03:22:38 +0000 (UTC) Date: Fri, 10 Mar 2017 03:22:38 +0000 (UTC) From: "Pallavi Rao (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (FALCON-2286) Falcon upgradation fails to create new tables MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 10 Mar 2017 03:22:45 -0000 [ https://issues.apache.org/jira/browse/FALCON-2286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pallavi Rao resolved FALCON-2286. --------------------------------- Resolution: Fixed Fix Version/s: 0.11 trunk Issue resolved by pull request 376 [https://github.com/apache/falcon/pull/376] > Falcon upgradation fails to create new tables > --------------------------------------------- > > Key: FALCON-2286 > URL: https://issues.apache.org/jira/browse/FALCON-2286 > Project: Falcon > Issue Type: Bug > Components: extensions > Affects Versions: trunk, 0.10 > Reporter: Pragya Mittal > Assignee: Pracheer Agarwal > Fix For: trunk, 0.11 > > > While installing falcon it fails to create new tables into existing database. > {noformat} > mysql> show tables; > +------------------------+ > | Tables_in_falcon | > +------------------------+ > | BACKLOG_METRIC | > | ENTITIES | > | ENTITY_SLA_ALERTS | > | FALCON_DB_PROPS | > | INSTANCES | > | MONITORED_ENTITY | > | OPENJPA_SEQUENCE_TABLE | > | PENDING_INSTANCES | > | ProcessInstanceInfo | > +------------------------+ > 9 rows in set (0.01 sec) > {noformat} > Creating database : > {noformat} > pragya.mittal@falcon1001:/mnt/falcon/server$ sudo -u ivory ./bin/falcon-db.sh upgrade -sqlfile falcon.sql -run > DONE > DB schema exists > Get Falcon DB version > DONE > Falcon DB already upgraded to Falcon version '0.11-SNAPSHOT' > {noformat} > Database is not updated with tables : EXTENSIONS<,EXTENSION_JOBS > {noformat} > mysql> show tables; +------------------------+ > | Tables_in_falcon | > +------------------------+ > | BACKLOG_METRIC | > | ENTITIES | > | ENTITY_SLA_ALERTS | > | FALCON_DB_PROPS | > | INSTANCES | > | MONITORED_ENTITY | > | OPENJPA_SEQUENCE_TABLE | > | PENDING_INSTANCES | > | ProcessInstanceInfo | > +------------------------+ > 9 rows in set (0.00 sec) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)