Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7D2CB1049F for ; Thu, 12 Sep 2013 13:53:52 +0000 (UTC) Received: (qmail 65681 invoked by uid 500); 12 Sep 2013 13:53:52 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 65649 invoked by uid 500); 12 Sep 2013 13:53:52 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 65535 invoked by uid 99); 12 Sep 2013 13:53:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Sep 2013 13:53:52 +0000 Date: Thu, 12 Sep 2013 13:53:52 +0000 (UTC) From: "Dmitry Lysnichenko (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-3198) ambari-server reset is broken on centos5.8 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-3198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13765432#comment-13765432 ] Dmitry Lysnichenko commented on AMBARI-3198: -------------------------------------------- +1 > ambari-server reset is broken on centos5.8 > ------------------------------------------ > > Key: AMBARI-3198 > URL: https://issues.apache.org/jira/browse/AMBARI-3198 > Project: Ambari > Issue Type: Bug > Components: controller > Affects Versions: 1.4.1 > Environment: CentOS 5.8 > PostgreSQL 8.1 > Reporter: Dmytro Sen > Assignee: Dmytro Sen > Priority: Critical > Fix For: 1.4.1 > > Attachments: AMBARI-3198.patch > > > ambari-server reset fails due to syntax error in centos 5.8 (postgres 8.1). > {noformat} > psql:/var/lib/ambari-server/resources/Ambari-DDL-Postgres-DROP.sql:18: LINE 1: DROP DATABASE IF EXISTS ambari; > {noformat} > The IF EXISTS clause was only added to DROP command in PotgreSQL8.2. > + > Add warnings if any SQL commands failed during server reset or upgradestack -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira