You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by dd...@apache.org on 2011/12/13 20:45:15 UTC

svn commit: r1213896 - /incubator/ambari/trunk/controller/src/main/java/org/apache/ambari/controller/HeartbeatHandler.java

Author: ddas
Date: Tue Dec 13 19:45:15 2011
New Revision: 1213896

URL: http://svn.apache.org/viewvc?rev=1213896&view=rev
Log:
AMBARI-157. Follow up to the previous commit

Modified:
    incubator/ambari/trunk/controller/src/main/java/org/apache/ambari/controller/HeartbeatHandler.java

Modified: incubator/ambari/trunk/controller/src/main/java/org/apache/ambari/controller/HeartbeatHandler.java
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/controller/src/main/java/org/apache/ambari/controller/HeartbeatHandler.java?rev=1213896&r1=1213895&r2=1213896&view=diff
==============================================================================
--- incubator/ambari/trunk/controller/src/main/java/org/apache/ambari/controller/HeartbeatHandler.java (original)
+++ incubator/ambari/trunk/controller/src/main/java/org/apache/ambari/controller/HeartbeatHandler.java Tue Dec 13 19:45:15 2011
@@ -238,12 +238,6 @@ public class HeartbeatHandler {
     Action action = new Action();
     action.setFile(file);
     action.setKind(Kind.INSTALL_AND_CONFIG_ACTION);
-    String deployCmd = Util.getInstallAndConfigureCommand();
-    //TODO: assumption is that the file is passed as an argument
-    //Should generally hold for many install/config systems like Puppet
-    //but is something that needs to be thought about more
-    Command command = new Command(null,deployCmd,new String[]{file.getPath()});
-    action.setCommand(command);
     //in the action ID send the hashCode of the script content so that 
     //the controller can check how the installation went when a heartbeat
     //response is sent back