incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ey...@apache.org
Subject svn commit: r1190475 - in /incubator/ambari/trunk: CHANGES.txt agent/src/main/python/ambari_agent/Controller.py
Date Fri, 28 Oct 2011 17:56:44 GMT
Author: eyang
Date: Fri Oct 28 17:56:44 2011
New Revision: 1190475

URL: http://svn.apache.org/viewvc?rev=1190475&view=rev
Log:
AMBARI-115. Fixed connection error handling for agent. (Eric Yang)

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/agent/src/main/python/ambari_agent/Controller.py

Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1190475&r1=1190474&r2=1190475&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Fri Oct 28 17:56:44 2011
@@ -2,6 +2,8 @@ Ambari Change log
 
 Release 0.1.0 - unreleased
 
+  AMBARI-115. Fixed connection error handling for agent. (Eric Yang)
+
   AMBARI-114. Fix issues in XMLComponentDefinition (ddas)
 
   AMBARI-112. Fixes the blueprint/stack resolution in the Cluster class

Modified: incubator/ambari/trunk/agent/src/main/python/ambari_agent/Controller.py
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/agent/src/main/python/ambari_agent/Controller.py?rev=1190475&r1=1190474&r2=1190475&view=diff
==============================================================================
--- incubator/ambari/trunk/agent/src/main/python/ambari_agent/Controller.py (original)
+++ incubator/ambari/trunk/agent/src/main/python/ambari_agent/Controller.py Fri Oct 28 17:56:44
2011
@@ -83,7 +83,7 @@ class Controller(threading.Thread):
         id=int(data['responseId'])
         self.actionQueue.put(data)
         retry=False
-      except URLError, err:
+      except Exception, err:
         retry=True
         if "code" in err:
           logger.error(err.code)



Mime
View raw message