You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sm...@apache.org on 2013/05/20 19:13:02 UTC

svn commit: r1484529 - in /incubator/ambari/trunk: CHANGES.txt ambari-server/src/main/resources/upgrade/ddl/Ambari-DDL-Postgres-UPGRADE-1.3.0.sql

Author: smohanty
Date: Mon May 20 17:13:02 2013
New Revision: 1484529

URL: http://svn.apache.org/r1484529
Log:
AMBARI-2164. START_FAILED and STOP_FAILED no longer exist, the upgrade script should repair hostcomponentstate table to convert these to INSTALLED. (smohanty)

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/ambari-server/src/main/resources/upgrade/ddl/Ambari-DDL-Postgres-UPGRADE-1.3.0.sql

Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1484529&r1=1484528&r2=1484529&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Mon May 20 17:13:02 2013
@@ -867,6 +867,10 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-2164. START_FAILED and STOP_FAILED no longer exist, the upgrade 
+ script should repair hostcomponentstate table to convert these to i
+ INSTALLED. (smohanty)
+
  AMBARI-2156. zookeeper service check fails when zk client is not co-hosted
  with zk server. (jaimin)
 

Modified: incubator/ambari/trunk/ambari-server/src/main/resources/upgrade/ddl/Ambari-DDL-Postgres-UPGRADE-1.3.0.sql
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-server/src/main/resources/upgrade/ddl/Ambari-DDL-Postgres-UPGRADE-1.3.0.sql?rev=1484529&r1=1484528&r2=1484529&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-server/src/main/resources/upgrade/ddl/Ambari-DDL-Postgres-UPGRADE-1.3.0.sql (original)
+++ incubator/ambari/trunk/ambari-server/src/main/resources/upgrade/ddl/Ambari-DDL-Postgres-UPGRADE-1.3.0.sql Mon May 20 17:13:02 2013
@@ -76,3 +76,6 @@ insert into ambari.metainfo(metainfo_key
 select 'version','1.3.0';
 
 COMMIT;
+
+UPDATE ambari.hostcomponentstate SET current_state = 'INSTALLED' WHERE current_state like 'STOP_FAILED';
+UPDATE ambari.hostcomponentstate SET current_state = 'INSTALLED' WHERE current_state like 'START_FAILED';