GitHub user shanthoosh opened a pull request:

    https://github.com/apache/samza/pull/244

    SAMZA-1282: Spinning up more containers than number of tasks.

    Changes
    
    * Stop streamProcessor in onNewJobModelAvailable eventHandler(instead of 
onNewJobModelConfirmed
      eventHandler) when it's not part of the group and prevent it from joining 
the barrier.
    * When numContainerIds > numTaskModels, generate JobModel by choosing 
lexicographically
      least `x` containerIds(where x = numTaskModels).
    * Added unit and integration tests in appropriate classes to verify the 
expected behavior.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/shanthoosh/samza more_processor_than_tasks

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/samza/pull/244.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #244
    
----
commit 2e1d372e18fbb8077f5d02907ef4e68bbbdfc6a8
Author: Shanthoosh Venkataraman <svenkatara...@linkedin.com>
Date:   2017-07-12T23:19:28Z

    SAMZA-1282: Spinning up more containers than number of tasks.
    
    Changes
    
    * Stop streamProcessor in onNewJobModelAvailable eventHandler(instead of 
onNewJobModelConfirmed
      eventHandler) when it's not part of the group and prevent it from joining 
the barrier.
    * When numContainerIds > numTaskModels, generate JobModel by choosing 
lexicographically
      least `x` containerIds(where x = numTaskModels).
    * Added unit and integration tests in appropriate classes to verify the 
expected behavior.

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to