[
https://issues.apache.org/jira/browse/AMBARI-3198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmytro Sen updated AMBARI-3198:
-------------------------------
Attachment: AMBARI-3198.patch
> 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