You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by GitBox <gi...@apache.org> on 2019/01/18 19:43:03 UTC

[GitHub] nlu90 commented on a change in pull request #3162: keep executor running when `heron update` adds containers

nlu90 commented on a change in pull request #3162: keep executor running when `heron update` adds containers
URL: https://github.com/apache/incubator-heron/pull/3162#discussion_r249163449
 
 

 ##########
 File path: heron/executor/src/python/heron_executor.py
 ##########
 @@ -976,6 +979,14 @@ def get_commands_to_run(self):
     # During shutdown the watch might get triggered with the empty packing plan
     if len(self.packing_plan.container_plans) == 0:
       return {}
+    if self._get_instance_plans(self.packing_plan, self.shard) is None and self.shard != 0:
+      retval = {}
+      retval['heron-shell'] = [
+        '%s' % self.heron_shell_binary,
 
 Review comment:
   why in this case a `heron-shell` command is returned?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services