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 F272B200CF8 for ; Wed, 30 Aug 2017 21:45:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F159E169D60; Wed, 30 Aug 2017 19:45:09 +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 4CD62169D5D for ; Wed, 30 Aug 2017 21:45:09 +0200 (CEST) Received: (qmail 9316 invoked by uid 500); 30 Aug 2017 19:45:06 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 9306 invoked by uid 99); 30 Aug 2017 19:45:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2017 19:45:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 1867B1829B7 for ; Wed, 30 Aug 2017 19:45:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id xsRi5TQeVA1Z for ; Wed, 30 Aug 2017 19:45:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 022FF60EF8 for ; Wed, 30 Aug 2017 19:45:05 +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 DF30BE09A7 for ; Wed, 30 Aug 2017 19:45:02 +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 B74B12414B for ; Wed, 30 Aug 2017 19:45:00 +0000 (UTC) Date: Wed, 30 Aug 2017 19:45:00 +0000 (UTC) From: "Swapan Shridhar (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-21836) 2.6.0 Upgrade Fails Because Of Missing Table MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 30 Aug 2017 19:45:10 -0000 [ https://issues.apache.org/jira/browse/AMBARI-21836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16147905#comment-16147905 ] Swapan Shridhar commented on AMBARI-21836: ------------------------------------------ commit branch-2.6: {code} commit b3e8fda82c3f5f95b5b1f7d7c30dc1c61136a7e5 Author: Nishant Date: Tue Aug 29 11:48:37 2017 +0530 AMBARI-21836. Fix Upgrade failure because of missing table after AMBARI-21076 checkin. (Nishant Bangarwa via Swapan Shridhar). {code} trunk: {code} commit d4ba96481c76487bc1fdd7fbde8392bc97c3226d Author: Nishant Date: Tue Aug 29 11:48:37 2017 +0530 AMBARI-21836. Fix Upgrade failure because of missing table after AMBARI-21076 checkin. {code} CC [~nishantbangarwa] > 2.6.0 Upgrade Fails Because Of Missing Table > -------------------------------------------- > > Key: AMBARI-21836 > URL: https://issues.apache.org/jira/browse/AMBARI-21836 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: trunk, 2.5.1 > Reporter: Nishant Bangarwa > Assignee: Nishant Bangarwa > Fix For: trunk, 2.6.0 > > Attachments: AMBARI-21836.patch > > > STR: > Install Ambari 2.5 > Upgrade to Ambari 2.6 > The following code is throwing a table not found exception: > String supersetConfigMappingRemoveSQL = String.format( > "DELETE FROM %s WHERE type_name like '%s%%'", > CLUSTER_CONFIG_MAPPING_TABLE, configPrefix); > This was introduced in AMBARI-21076. The problem is that the clusterconfigmapping table no longer exists... > Options -- This message was sent by Atlassian JIRA (v6.4.14#64029)