You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2013/09/12 15:57:53 UTC
[jira] [Resolved] (AMBARI-3198) ambari-server reset is broken on
centos5.8
[ https://issues.apache.org/jira/browse/AMBARI-3198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry Lysnichenko resolved AMBARI-3198.
----------------------------------------
Resolution: Fixed
committed to trunk
> 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.
> +
> Show 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