hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bsikander <...@git.apache.org>
Subject [GitHub] hama pull request: Hama 900 - Added a new strategy to schedule tas...
Date Sat, 16 Jan 2016 15:52:10 GMT
GitHub user bsikander opened a pull request:


    Hama 900 - Added a new strategy to schedule tasks based on round robin scheme

    In this pull request, I have implemented the TaskAllocationStrategy to schedule tasks
equally on cluster. 
    I ran multiple tests on my cluster including the PI example and my own algorithm and everything
was alright. 
    Following snapshot shows one such example. On my cluster with 9 machines supporting 54
tasks, I ran a job with 18 tasks. In the screenshot you can see the equal distribution in
cluster with each machine only running 2 tasks.
    ![roundrobin-18 tasks-9 grooms](https://cloud.githubusercontent.com/assets/4642104/12373184/4ff4c0fe-bc71-11e5-8275-56434da8b4a8.png)

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

    $ git pull https://github.com/bsikander/hama HAMA-900

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


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

    This closes #7
commit 323323c7a971d05f517b421df68655cd89948049
Author: Behroz Sikander <behroz89@gmail.com>
Date:   2016-01-14T16:56:15Z

    Added round robin allocation strategy and its test case
    + Changed the strategy used in JobInProgress class
    + Added RoundRobin Allocation strategy
    + Added test case to verify it

commit 12911464fb2d6dccec5a097cc83939c1aac0c06e
Author: Behroz Sikander <behroz89@gmail.com>
Date:   2016-01-16T14:38:51Z

    Fixed bug to handle the case when no tasks is allocation on any Groom
    + Added comments on code
    + Fixed code in round robin allocator
    + Fixed an issue in test

commit 2885183e49de4fd439fb99c798228b391957668d
Author: Behroz Sikander <behroz89@gmail.com>
Date:   2016-01-16T15:12:21Z

    Changing the default class to best effort

commit b9640fd2a5d4246c0cd71c1ac3da578c072e6dba
Author: Behroz Sikander <behroz89@gmail.com>
Date:   2016-01-16T15:13:36Z

    Removing spaces

commit 27c6ce47eec59485caaddf8e0c9c4c3b042671df
Author: Behroz Sikander <behroz89@gmail.com>
Date:   2016-01-16T15:16:52Z

    Removed getGroomToSchedule function


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

View raw message