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 17:02:50 UTC

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

nwangtw 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_r249116143
 
 

 ##########
 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:
 
 Review comment:
   what is this for?

----------------------------------------------------------------
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