Github user kishorvpatil commented on the pull request:

    https://github.com/apache/storm/pull/1053#issuecomment-180583768
  
    Secondly, I don't necessarily like the idea of `ResourceIsolationInterface` 
taking up responsibility for starting and stopping workers.. This would be 
moving a lot of responsibility from supervisor to `ResourceIsolationInterface` 
specially when we do a lot of setting-up/tearing-down for worker and use 
worker-launcher in multitenant cases. I would have simple interface which may 
help us call from within supervisor - and possibly more than once..- without 
any side-effects so that we may call them again in case of partial failures.
    ```
    public interface ResourceAllocationInterface {
    boolean reserveResourcesForWorker(workerid, resources);
    boolean releaseResourcesForWorker(workerid);
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to